Artificial intelligent assistant

Move files and change ownership at the sametime On Linux (Debian, Ubuntu Mint...), Is there any option command or something that I can use to transfer files to another user without having to do : sudo mv /home/poney/folderfulloffiles /home/unicorn/ sudo chown -R unicorn:unicorn /home/unicorn/folderfulloffiles

Use `rsync(1)`:


rsync \
--remove-source-files \
--chown=unicorn:unicorn \
/home/poney/folderfulloffiles /home/unicorn/

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 320965e625d97d006e786adbe56d13de