Skip to content

Instantly share code, notes, and snippets.

@skvggor
Created March 31, 2014 14:37
Show Gist options
  • Save skvggor/9893814 to your computer and use it in GitHub Desktop.
Save skvggor/9893814 to your computer and use it in GitHub Desktop.
Copy files [[ *.extension ]] recursively to FOLDER.
find . -name "*.extension" -type f -print0 | xargs -0 -n1 -I '{}' cp '{}' FOLDER/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment