$ cat "

Linux Tip: Copy File Found by Find

"

Here is one way to find a file and copy it in one command:

cp `find /directory/to/search/ -name SomeFilename.txt`  /destination/path
Written by Erik Öjebo 2012-10-16 09:27

    Comments