thx for corrections
Satish Balay wrote:
On Mon, 8 Mar 2004, Jeff Vian wrote:
for example i had to move all data form /dev/hda6 (my previous /home) to /dev/hda3 (newly created)
#mkdir /mnt/oldhome #mkdir /mnt/newhome
#mount /dev/hda6 -t ext3 /mnt/oldhome #mount /dev/hda3 -t ext3 /mnt/newhome
#cp -r /mnt/oldhome/* /mnt/newhome
Be careful here!! In the shell the '*' does NOT find/copy hidden files or folders (those whose name begins with a "." such as " .bashrc".
To confirm that a simple comparison of the results of "ls -d *" and "ls -d .*" in your home directory will show the difference.
I would recommend rsync for this
rsync -ap /mnt/oldhome/ /mnt/newhome
Satish