Skip to content

Instantly share code, notes, and snippets.

@aaronbassett
Last active October 8, 2015 00:10
Show Gist options
  • Save aaronbassett/3246537 to your computer and use it in GitHub Desktop.
Save aaronbassett/3246537 to your computer and use it in GitHub Desktop.
Find all images in ~ and copy to current directory
find ~ | grep -i '\.jpg$\|\.jpeg$\|\.gif$\|\.png$' | xargs -I% cp % ./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment