Mark Rogers wrote:
On 18/06/10 14:34, MJ Ray wrote:
Something like cpio -p --make-directories --preserve-modification-time old< name-list perhaps?
A useful one to know about certainly (never used cpio) but as far as I can tell this only allows me to duplicate the files in the new location, not move them there?
Yes, true, you'd need to feed name-list to xargs rm afterwards.
One thought that this prompts though, in talking about archives, is that I can generate a file list and use this with tar to archive the files with --remove-files to take them away from the old location.
My first thought was to reach for tar, but that wasn't quite what was asked. Hope that helps, -- MJ Ray (slef) Webmaster and LMS developer at | software www.software.coop http://mjr.towers.org.uk | .... co IMO only: see http://mjr.towers.org.uk/email.html | .... op