On 1/20/23 06:13, Stakanov wrote:
But yes, I think this is quite a "killer argument" for this kind of job. "dot files" well, I "shouldn't" but KDE has actually, all files under config etc are situated as dot files of the user, also settings of kmail, so, does rsync take these too?
Dot-files are fine further down in the directory structure, but when copying /home you don't want to have: /home/.somestrangefile Having /home/stakanov/.allthedotfilesyouwant Is no problem. The only issue with having dot files under /home is they wouldn't be caught with a 'cp -a /home/* /mnt/transfer'. You can copy them individually or, rsync can handle them with rsync -aP /home/ /mnt/transfer **note:** the trailing '/' after home -- required to copy "contents of" rather than the "directory itself". -- David C. Rankin, J.D.,P.E.