Date: Tue, 21 Dec 2004 20:44:23 -0600 From: Doug Poland <doug@polands.org> To: Mike Jeays <Mike.Jeays@rogers.com> Cc: freebsd-questions@freebsd.org Subject: Re: Copying a directory hierarchy Message-ID: <20041222024420.GA53396@polands.org> In-Reply-To: <1103680952.33623.2.camel@chaucer> References: <1103680952.33623.2.camel@chaucer>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 21, 2004 at 09:02:32PM -0500, Mike Jeays wrote: > How does on copy a complete directory hierarchy, including any hidden > files? > My personal favorite, from gtar (formerly tar) man page: To move file hierarchies, use a command line like this: tar -cf - -C srcdir . | tar xpf - -C destdir -- Regards, Doug
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041222024420.GA53396>