Use of xargs in linux
Hi all,
In order to copy files from one folder to another in linux - try using the following command
xargs -a <filename of file containing list of files to copy> cp -t <destination folder>
This is better than using
cat <filename of file containing list of files to copy> | xargs -d '\n' cp -t <destination folder>
In order to copy files from one folder to another in linux - try using the following command
xargs -a <filename of file containing list of files to copy> cp -t <destination folder>
This is better than using
cat <filename of file containing list of files to copy> | xargs -d '\n' cp -t <destination folder>
Comments
Post a Comment