Another variation:

tar cf - -C /source/path directory | tar xf - -C /destination/path

On Dec 23, 2004, at 12:16 AM, Joseph wrote:



How does on copy a complete directory hierarchy, including any hidden
files?

cd /path tar cf - . | (cd /other/path; tar -xf -)

works like a charm.

joe
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Alexander Sendzimir (owner) 802 863 5502 MacTutor: Apple Mac OS X Consulting [EMAIL PROTECTED]

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to