On 1/20/23 03:33, Stakanov wrote:
Now the "1000$" question: what is the best command to achieve the transfer of the /home to the new /transfer home?
cp? rsync? dd?
Any suggestions for the best (eventually fastest but I would prefer most reliable) solution?
For transferring /home - take your pick. "cp -a" is fine, "rsync -a" is also fine, "dd" is fine, but you need several additional options to set block-size, etc... or it will be horribly slow compared with cp or rsync. So if you have the new partition mounted as "/mnt/trasfer" and you are copying from your "/home" partition, you can do: # cp -a /home/* /mnt/transfer So long as you have no dot-files in /home (you shouldn't), then there is no need for a second "cp -a /home/.* /mnt/transfer". -- David C. Rankin, J.D.,P.E.