meta
size
grep file dimensions
for nxn in * ; do identify $nxn | grep -oE '([0-9]*)x([0-9]*)[[:space:]]' >> list-sizes.txt; done
grep file dimensions and names
for nxn in * ; do identify $nxn | echo $nxn `grep -oE '([0-9]*)x([0-9]*)[[:space:]]'` >> list-sizes-names.txt ;done
show all file resolutions in a directory
for i in *.*; do ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 $i; done #list_sizes
weight
find file weight
find * -maxdepth 2 -type f -exec du -sh {} \; > list-weight.txt
find directory weight
find * -maxdepth 2 -type d -exec du -sh {} \; > list-weight-dir.txt
alternate find directory weight (not sorted)
du -h -d 1 . > dir-weight.txt