Terminal command(s) to copy user directory from one system to another
Hello,
I have the directory of "userA" on SystemA and its contents and want to copy it all to "userB" on systemB, while changing all permissions so that "userB" has all the same rights as userA had them on the original system.
I think that rsync would do, but does it automatically assign the user and group rights settings of the user on the target system?
Do I need any special commands? Or just
rsync -avr /Users/userA userB@:destinationHost/Users/userBIs there anything else to consider, regarding ACLs or so? Thats always confusing me on MacOS ;-)
Or any subfolder of /Users which I better leave out?
Thanks & kind regards,
Olaf.
Mac mini, macOS High Sierra (10.13), Migration from Mac OS El Capitan