Skip to content

Instantly share code, notes, and snippets.

@aburkard
Created August 3, 2018 01:08
Show Gist options
  • Save aburkard/8cbe1d76a79e9fa5983ca3b6e221323b to your computer and use it in GitHub Desktop.
Save aburkard/8cbe1d76a79e9fa5983ca3b6e221323b to your computer and use it in GitHub Desktop.
Copy all files containing a string to another folder
find . -name "*hi*" -exec cp -i {} -t ../images_unflat/hi/ \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment