Re: renovate partitions without reinstalling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux