On Wed, 05 Jul 2000,  Renaud OLGIATI wrote about,  Re: HD mirroring utility?:
> 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 ?

I certainly would not call you ignorant, you were inteligant enough to
understand me when you were having troubles the last time on another
subject.

What is possably happening is you have not though enough about what Marc
wrote.

His "example" is really a perfectly vaild example, its a question of
seeing the directory "old" as what you want to copy, and the new as the
directory to which you want to copy the files to. Both directorys must be
there on your machine.

As to your text empty archive, that i cannot seem to simulate, so just what
are you doing.?? Exacht commands would be informative.

Of course i dont want to step on Marc's toes here, but sometimes Marc
answers mails after a few days, hence my reply to you.

> 
> 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
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/


-
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

Reply via email to