Skip to content

Instantly share code, notes, and snippets.

@drsnyder
Created September 26, 2012 16:49
Show Gist options
  • Select an option

  • Save drsnyder/3789130 to your computer and use it in GitHub Desktop.

Select an option

Save drsnyder/3789130 to your computer and use it in GitHub Desktop.
finding original image files
find . -type f \( -not -regex '.*[0-9]+x[0-9]+px-.*' \) | \
xargs du -s | \
awk '{ sum+=$1; } END { print sum/1048576 }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment