On Sat, 2 Nov 2002, Michael Scondo wrote:

> > #!/bin/bash
> > ##copy a directory or partition
> > tar -C "$1" -cOl . | tar -C "$2" -xpf -
> >
>
> That's an idea, but I believe parted should be much faster.
> I think compressing and decompressing would be a little bit slow ?
>
It's not compressing and decompressing.  Tar only does that if you tell
it (with an option I,y,z,Z or the corresponding long names or
--use-compress-program).  Saving and restoring this way will also
defragment the filesystem.

> Regarding,
> Michael
> -
--
---oops---



________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to