Skip to main content

meta

grep file sizesdimensions

for nxn in * ; do identify $nxn | grep -oE '([0-9]*)x([0-9]*)[[:space:]]' >> list-sizes.txt; done

grep file sizesdimensions and names

for nxn in * ; do identify $nxn | echo $nxn `grep -oE '([0-9]*)x([0-9]*)[[:space:]]'` >> list-sizes-names.txt ;done

find file weight

find * -maxdepth 2 -type f -exec du -sh {} \;  > list-weight.txt