Skip to content

Instantly share code, notes, and snippets.

Created January 5, 2013 19:51
What would you like to do?
finds mounted DCIM directories and copies all jpgs
set -e
cp -v $(find `mount | grep vfat | cut -d' ' -f3` *.jpg | grep DCIM) .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment