On Thursday 08 January 2004 10:48, Mike Williams wrote: > On Thursday 08 January 2004 10:13, Fred Labrosse wrote: > > You need to copy across from one disk to the other disk making sure you > > keep the same permissions and ownerships. You can use cp with the right > > options (can remember now) or tar (This is what I usually do). You have > > to do that partition by partition but don't copy the virtual file systems > > (proc and dev). > > or rsync
Or cpio cd $source_directory find . -mount | cpio -pvdum $destination_directory I trust cpio to preserve permissions and file modification times, but also to handle links, symbolic links, named pipes, block and character devices etc. The -mount option in find stops it traversing into /proc or /dev -- | John Helliwell Unmetered & ADSL solutions | ISP Systems Engineer for Home & Business | PlusNet Technologies Ltd @ http://www.plus.net + ----- My Referrals - It pays to recommend PlusNet ----- + Si hoc legere scis, nimium eruditionis habes. -- [EMAIL PROTECTED] mailing list
