Bruce Perens wrote:

[Klippa, klapp, kluppit]

>       cd /old_partition
>       tar cf - . | (cd /new_partition; tar xvlpf -)
> 

Watch out so you don't run into an infinite loop:
Suppose that you mount the target disk on /mnt, then 
"cd /
tar cf - . | (cd /mnt; tar xvlpf -)" 
would copy some things to /mnt then copy /mnt/* to /mnt/mnt/ and so on.



Recursive,

                                                        MartinS


Reply via email to