[1151] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: moving contents of hard drive

daemon@ATHENA.MIT.EDU (BORG)
Sat Oct 26 19:07:09 1996

Date: Sat, 26 Oct 1996 15:57:44 -0700
From: BORG <vladimip@iceonline.com>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Julien Maillard wrote:
....
> > This is exactly the same as cp -a.
> and is the above equivalent to:

> `(cd /source;tar cf - .)|(cd /target;tar xvfp -)`  ? 
is one preferable?

Not exactly, I think 'cp -a' uses less CPU than
tarring/untarring; 'cp -a /source /target'
is also a better choice for unexperienced users 
because it's more intuitive. It took me 5 (!!!) 
hours of reading man pages the first time I was 
trying to figure out how to use gzip and tar for 
basic operations... I was kinda ashamed of asking
on this list about those commands and I'd most
likely get some "RTFM's" anyway.

Regards,
Vlad

-- 
*** #include <disclaimer.h> ***** Good pings come in small packets
******** Vlad Petersen ********** ********************************
*** <vladimip@iceonline.com> **** **** Linux: OS I can trust *****
******** Vancouver, B.C. ******** ********************************


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post