Am Samstag 09 Juni 2007 02:25 schrieb Albert Hopkins:
> On Fri, 2007-06-08 at 19:01 -0500, [EMAIL PROTECTED] wrote:
> > On Fri Jun  8 16:38 , Dale <[EMAIL PROTECTED]> sent:
> >
> >
> > Yeah, that's me, I do exactly the same until you issue the cp command
> > where I do: $>cd /mnt/oldstuff && tar cvjpf /pathtosomewhere/mystuff.tbz
> > ./
> > and then extract to the new directory.  I do this out of habit mostly
> > and, yes, it is a useless step unless you want to store a copy somewhere
> > for whatever reason...
> >
> > --James
>
> The one thing I mentioned is that I actually pipe tar to tar (tar -c ...
>
> | tar -x ...) which seems even more useless, but as I said I'm used to
>
> doing some things out of habit.  Then I thought about why: the '-a' flag
> is not available on all *nices... I believe it's a GNU extension.  So I
> probably got used to using the tar trick on a non-GNU system and got
> used to it because it works whether I'm using Linux or not.  But if
> you're on a Linux system (that has rsync installed) then rsync is
> probably the nicer option.  It's got even more options than GNU's cp.  I
> actually 'alias cp="rsync"' on my Gentoo systems.
>
> 'dd' is good if you want to preserve filesystem/geometry but not good if
> you don't.
> --
> Albert W. Hopkins

I wouldn't recommend dd, either. Using dd you would preserve all the 
fragmentation of the old file system while cp, tar and rsync don't.

Attachment: pgp0R3RvZoldt.pgp
Description: PGP signature

Reply via email to