Example:
find /media/disk -iname "*.doc" -exec cp -rf --parents {} {}.doc /media/disk-1/Misdocumentos/TodosLosDocumentos \;
Sources:
http://www.linuxquestions.org/questions/linux-newbie-8/copy-files-from-multiple-directories-into-one-directory-162396/
http://www.codecoffee.com/tipsforlinux/articles/21.html
No comments:
Post a Comment