How to move or copy files listed by 'find' command in unix?

The Solution to How to move or copy files listed by 'find' command in unix? is


Adding to Eric Jablow's answer, here is a possible solution (it worked for me - linux mint 14 /nadia)

find /path/to/search/ -type f -name "glob-to-find-files" | xargs cp -t /target/path/

You can refer to "How can I use xargs to copy files that have spaces and quotes in their names?" as well.

~ Answered on 2013-10-03 06:01:24


Most Viewed Questions: