Copy a large directory of files using ls and xargs
13/05/2010ls . | xargs -i -t cp ./{} /path/to/new/directory
See example 12-6 at http://www.homepage.montana.edu/~unixuser/051905/abs-guide/moreadv.html
small snippets of webmonkey wisdom
ls . | xargs -i -t cp ./{} /path/to/new/directory
See example 12-6 at http://www.homepage.montana.edu/~unixuser/051905/abs-guide/moreadv.html
No comments yet.