Posted on 01-22-2020 01:07 PM
Hi all,
Trying to get a script put together to move data from one user account to a different one, and critically, update the file owner to the new user. I must be missing something silly, so hoping you all may have been down this road already!
So, I wanna do this:
rsync -rv —chmod=user2+rwX /Users/user1/Desktop/ /Users/user2/Desktop/
What am I doing wrong? Note I want to move the contents of Desktop, and not the whole folder...
Thanks!
Matt
Posted on 01-22-2020 01:41 PM
Okay, so you can't use the --chmod= to change the user - this should have been obvious to me (chmod vs chown) lol :)