How to copy files from an entire directory tree using terminal commands???
Hi, I am somewhat new to linux, and was wondering if anyone knew a command or series of commands to copy files from an entire directory tree into a different location.
I understand that find -name *.jpg will find all the *.jpg files on an
entire hard drive if you run it from the root directory.I also understand that the cp command with the -R switch will copy all the files,but just out of one directory into another. I would like the computer to be able to search for an extention such as *.jpg and copy all the *.jpg files to a diff location using command. Any and all help is apreciated.
Thanx...lusius
|