I need to migrate some user to new Workstation with Ubuntu 18.04 and i would like to to synchronize their home folder, data and personal settings(ie bashrc,wallpaper,favourite....etc..). The new profile wiill use a new name convention si basically the command i was thinking to run from the old computer is:
That looks good as long as name.surname is the new format. I'd also add a --progress in there so it shows progress on larger files and you know that it hasn't stalled.. also, i'm assuming you're running it locally to the old filesystem.. (/home/user/ being the old format).
Edit: one thing you will run into is you'll have to set the correct ownership/permissions to the files once they're on the new server - this is somehing you can likely script based on the name of the /home/$user filename, since it's also their username..