Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2004 21:16:06 -0800
From:      Joseph <freebsd-questions@chubbo.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Copying a directory hierarchy
Message-ID:  <1103778966.41ca5496059b9@mail.chubbo.net>

next in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1103778966.41ca5496059b9>