copying a home directory onto a removable drive and back

Adam Funk a24061 at ducksburg.com
Wed Jul 28 14:49:09 UTC 2010


On 2010-07-28, Adam Funk wrote:

> I want to copy my home directory onto a USB drive (formatted to ext3),
> shuffle the partitions around on the computer, and copy my home
> directory back (onto a new, blank partition).  I can think of four
> ways to do it, although I'm not familiar with using the fourth:
>
> cp -r
> rsync
> tar
> cpio
>
> Recommendations?

I forgot to mention that one of my concerns is getting the file
permissions and ownerships and any hard links right when I copy
everything back.  (I doubt that I have any hard links, but you never
know.)






More information about the ubuntu-users mailing list