rsync dies, need another approach

Welty, Richard richard.welty at bankofamerica.com
Thu Oct 27 14:11:50 UTC 2005



Dr. Michael J. Chudobiak write:
>Can anyone suggest a way to copy a large directory structure, while 
>preserving symlinks and keeping memory requirements low?

try piping the output of a tar to the input of another tar,

tar cvf - <directory> | tar xvf -

where you'll need to wrap rsh or ssh around one of the tar commands
(and an associated cd to the correct directory), and root around in
the tar man page to get the flags right. i know this will work, i
just do it infrequently enough that i can't remember exact parameters.

richard
-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




More information about the fedora-list mailing list