Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 09:04:57 -0700
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        thierry.herbelot@alcatel.fr, Kent Ho <kent@graffiti.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Fastest way to Transfer data from HD to HD?
Message-ID:  <4.1.19990622090212.00a789b0@mail-r>
In-Reply-To: <376F54DC.1F08FA24@telspace.alcatel.fr>
References:  <19990622084853.2191.qmail@graffiti.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:18 AM 6/22/1999 , Thierry Herbelot wrote:
>You can also use "tar -cvf - <existing dir> | (cd <new dir>; tar xf -)"

I prefer "tar -c -C<originaldir> -f - . | tar -xvp -C<targetdir> -f -"

I stick the "v" on the extracting tar so I see which files were actually
put there. I also stick a "p" on the extracting tar to preserve permissions.

--Ludwig Pummer ( ludwigp@bigfoot.com ) ICQ UIN: 692441


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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