Copying a directory hierarchy

Joseph freebsd-questions at chubbo.net
Wed Dec 22 21:16:06 PST 2004



> > >  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


More information about the freebsd-questions mailing list