On Wednesday 07 December 2005 13:01, Lubos Vrbka wrote: > >> 1.) partition the new drive as you want it > >> 2.) for each partition of the new drive, mount the partition in > >> /mnt/tmp or something like that, then > >> > >> cd /old-partition-mount ; tar cf - . | (cd /mnt/tmp ; tar xf -) > > > > What does the dot do? > > archive the local directory to the stdout Well,
not exactly... in true, that copy everything in /old-partition-mount to /mnt/tmp part 1 (before the pipe) compress /old-partition-mount to the pipe/stdout part 1 (after the pipe) decompress from the pipe/stdin to /mnt/tmp cheers, themage > tar cf - . | ... tar xf - > you can also do it as > tar c . | ... tar x > however this doesn't seem to work on, e.g., sgi and aix... > > regards, > > -- > Lubos > [EMAIL PROTECTED]" -- Merlin, the Mage http://www.sites-favoritos.com/user/merlin http://www.cultodavida.online.pt http://www.code.online.pt Carpe Vitam -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]