Go to ...

Techpository

A Better Technical Repository

RSS Feed

Linux: Copy files from multiple directories/subdirectories to a single directory


When in the directory you want to copy to do the following:

find /root-path-to-source-files-and-directories/ -name *2014*.mp4 -exec cp {} . ;

The . can be replaced with an actual target directory