Main /

CP List Of Files

edit SideBar

CP List Of Files

Copy a list of files (read from a file) to a location.

Given a text file containing a list of files (one per line), the following copies every file to a specified location:

xargs -IFILES cp FILES /tmp/location < list_of_files.txt
Recent Changes (All) | Edit SideBar Page last modified on December 14, 2006, at 04:36 PM Edit Page | Page History
Powered by PmWiki