Wednesday, December 13, 2006


Found a really useful tool today call xargs used it to copy a list of files, I had a file "static.list" which had a list of files which I needed to copy one per line.

Running the following

cat static.list |xargs -t -i rsync -v CB_DATA/{} rsync://

Run the rsync command

rsync -v CB_DATA/filename rsync://

for each filename listed in "static.list"
Post a Comment