Linux Copying Bulk of Files Using Shell

Continuing on the related post

http://knowledgeexplosion.info/2008/07/solved-binrm-argument-list-too-long/

if you want to copy the files, you have to use different syntax. In my case I wanted to copy bulk of mp3 files:

find /share/media/mp3/ -type f -name "*.mp3" -print0 | xargs -0 -r
-I file cp -v -p file --target-directory=/bakup/iscsi/mp3

Leave a comment

Your comment

*