Yatsen Ng
What's the most commonly used method to move files through file-systems; the 'cp' command, making a tarball? Just curious.
The traditional method is `cpio -p'. Since `tar' seems to be more popular nowadays, and handle a few more exceptional situations, the paradigm has been adapted in various ways, the simplest currently being: tar Cc SOURCE_DIRECTORY | tar Cxp DESTINATION_DIRECTORY But even simpler than these all, is `cp -a'. Make a few experiments with little things, to make sure you understand how to use it. In all these cases, you have to remove the source hierarchy yourself, after you carefully checked things have been moved correctly, of course. `cp -u' and `rsync' are also good tools to update a copy. I remember having had some problems with `cp -u' in NFS contexts, but I did not check recently, as I've been avoiding NFS for a long time. I might return to it... -- François Pinard http://www.iro.umontreal.ca/~pinard -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/