Hi,
Is there a easy way to select files based on some pattern from a directory and copy the respective files to another directory.?
any easy way to do this...
I've somehting but not sure this will work.
find . -name "mypattern" *.txt -exec cp {} .
Will the above command work?
Any help would be appreciated.
Thanks
Is there a easy way to select files based on some pattern from a directory and copy the respective files to another directory.?
any easy way to do this...
I've somehting but not sure this will work.
find . -name "mypattern" *.txt -exec cp {} .
Will the above command work?
Any help would be appreciated.
Thanks