I tried to follow your line, but get from tar an error message to the
effect that it "cowardly refuses to create an empty archive."
Would you care to enlighten this ignorant newbie ? Where do I go wrong ?
TIA,
Ron the Frog, thawing on the banks of the Paraguay River.
On Wed, 05 Jul 2000, Marc Mutz wrote:
> Instead of cp, I personally use tar for this for the siple fact that cp
> is a bit picky about special files (esp. named pipes), found in /dev/
> and /var/... and /tmp. so instead of the above command, I'd use
>
> $ tar cfp - -C /old . | tar xfp - -C /new
>
> this is spelled thus:
>
> _C_reate a tar _F_ile (- = STDOUT) and _P_reserve as much as you can of
> the permissions. To do this, first _C_hange to /old, then use '.' as
> source.
> Take the output and pipe it to another tar, _X_tracting the stream from
> _F_ile '-' after _C_hanging to /new.
>
> I got cp's stuck on copying a 'p' file - since then, I use tar
> exclusively for such things.
--
Renaud OLGIATI No act of kindness,
Cerro Cora 3662 no matter how small,
Asuncion (Paraguay) ever goes completely unpunished.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs