On Fri, Oct 25, 2002 at 02:35:51PM -0700, Rick Moen wrote:
> > However, both the cp and cpio methods failed for me here - they didn't
> > maintain the symlinks and filled the destination disk.
>> That's very odd, given that you used the appropriate switches.
Odd as in buggy - unlike rsync there are no switches related to hard links.
At least in the case of cpio (for which I've RTFS) this is the normal
behaviour i.e. to do The Right Thing. But unfortunately, cpio's
implementation of doing the right thing is false. A hash is used and I
suspect it dies on beng handed 100000 files. I haven't looked at the source
for cp but as it fails in the same way as cpio I suspect it's using
something similar.
> And, yes, rsync _is_ wonderful. It's my preferred tool for such things.
Mine too, now :-)
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!