> > tar does have one drawback that may or nay not matter to you -- it needs
> > somewhere to put the tarball.  The obvious answer is to put it on your
> > new, blank, drive.
> 
> It doesn't need to create a tarball file at all. By default, tar uses
> stdout, you need the -f option to use a file, so you can copy a partition
> with
> 
> tar -cl /source | tar -xC /dest/

...or you could use this:

(cd /original_folder && tar -clpsf- *) | (cd /new_folder && tar -xpsf-) 

...courtesy of 
http://www.hants.lug.org.uk/cgi-bin/wiki.pl?LinuxHints/OneDiskToAnother
I've used this successfully, and it's fairly quick... <shrug>
--
gentoo-user@gentoo.org mailing list

Reply via email to