Skip to content

Instantly share code, notes, and snippets.

@larryxiao
Created October 6, 2013 01:10
Show Gist options
  • Save larryxiao/6848069 to your computer and use it in GitHub Desktop.
Save larryxiao/6848069 to your computer and use it in GitHub Desktop.
finding files recursively then copy to destination folder
find $directory -type f -name \*.in
-exec cp {} /home/destination/folder \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment