Hi,
i just copied my home to another drive following this guide Moving /home to second hdd
Because I was scared, I used
cp -rp /home/* /mnt/ && sync
and renamed the original userhome to _bak afterward.
So far everything seems to be working, but is there a quick way to be sure everything was copied correctly?
Alex
Tomek
2
diff -r /oldhome /newhome
1 Like
You could compare the file and/or directory sizes with du
. Or for a more thorough but very time- and energy-consuming examination, you could use diff
.
man du
man diff
2 Likes
When using rsync
instead of cp
, the diff is already included (if you use checksums)
1 Like
system
Closed
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.