Re: Copying an entire tree

2003-08-22 Thread Malcolm Kay
On Fri, 22 Aug 2003 08:35, Dan Strick wrote: No, I hadn't thought of using rsync for a purely local copy. But now that I've tried it, add it to the list of utilities that lose the flags. (I'm particularly interested in preserving the schg and nodump flags.) So far, the only thing I know

Re: Copying an entire tree

2003-08-22 Thread Pat Lashley
--On Friday, August 22, 2003 20:17:07 +0930 Malcolm Kay [EMAIL PROTECTED] wrote: Dump/restore is also the only technique I've found to retain the holes in holey files. cpio can handle sparse files. I think that was the reason I changed from a tar/tar pipe to a find/cpio pipe as my standard

Copying an entire tree

2003-08-21 Thread Pat Lashley
Is there any simple clean way to copy an entire directory tree and preserve both the flags (like schg) AND hard links within the tree? (And, of course, preserve device special nodes, etc.) cp -r Copies hardlinked files as separate files cpioDoesn't preserve flags pax

Re: Copying an entire tree

2003-08-21 Thread Nico Meijer
Hi Pat, Is there any simple clean way to copy an entire directory tree and preserve both the flags (like schg) AND hard links within the tree? (And, of course, preserve device special nodes, etc.) Have you looked at rsync? HTH... Nico ___ [EMAIL

Re: Copying an entire tree

2003-08-21 Thread Pat Lashley
--On Thursday, August 21, 2003 22:19:28 +0200 Nico Meijer [EMAIL PROTECTED] wrote: Is there any simple clean way to copy an entire directory tree and preserve both the flags (like schg) AND hard links within the tree? (And, of course, preserve device special nodes, etc.) Have you looked at

Re: Copying an entire tree

2003-08-21 Thread Tillman Hodgson
On Thu, Aug 21, 2003 at 02:23:54PM -0700, Pat Lashley wrote: On Thursday, August 21, 2003 22:19:28 +0200 Nico Meijer [EMAIL PROTECTED] wrote: Is there any simple clean way to copy an entire directory tree and preserve both the flags (like schg) AND hard links within the tree? (And, of

Re: Copying an entire tree

2003-08-21 Thread Dan Strick
No, I hadn't thought of using rsync for a purely local copy. But now that I've tried it, add it to the list of utilities that lose the flags. (I'm particularly interested in preserving the schg and nodump flags.) So far, the only thing I know of that seems to do everything right is cvsup.

Re: Copying an entire tree

2003-08-21 Thread Pat Lashley
--On Thursday, August 21, 2003 15:45:54 -0600 Tillman Hodgson [EMAIL PROTECTED] wrote: On Thu, Aug 21, 2003 at 02:23:54PM -0700, Pat Lashley wrote: Is there any simple clean way to copy an entire directory tree and preserve both the flags (like schg) AND hard links within the tree? (And, of