Re: Copying one's home directory to an external hard disk

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

 



Paul Smith wrote:
Dear All,

What is the best way of copying *entirely* one's home directory to an
external hard disk? Can one do that while logged in? Or should one use
the rescue CD?

Mount the external disk somewhere or note where it auto-mounted, cd to the top of the directory where you want to start, then:
rsync -avH  . /path/to/destinaton/directory

If you repeat this on the same drive it will know enough to only copy the changed parts - and you may or may not want to add the --delete option to remove files that no longer exist on the source.

--
  Les Mikesell
   lesmikesell@xxxxxxxxx




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

  Powered by Linux