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>

Comments

Popular posts from this blog

SOX - Sound eXchange - How to use SOX for audio processing tasks in research.

Sox of Silence - Original post - http://digitalcardboard.com/blog/2009/08/25/the-sox-of-silence/

How to get video or audio duration of a file using ffmpeg?