Hi. On Sun, 12 Jul 2020 16:06:00 -0400 bruce wrote: > assume > /home/test/user1/foo > /var/www/html > a user is in the "/" dir > how can this user copy/rsync "foo" dir to get /var/www/html/foo > i know you could cd to /home/test/user1 and > do > rsync -vv -aR foo/ /var/www/html/ Simply do, from / or anywhere: rsync -vv -a /home/test/user1/foo /var/www/html/ or: rsync -vv -a /home/test/user1/foo/ /var/www/html/foo rsync accept to create one level of directory on the destination. -- francis _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx