Created
October 6, 2013 01:10
-
-
Save larryxiao/6848069 to your computer and use it in GitHub Desktop.
finding files recursively
then copy to destination folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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