Rsync: Only preserve meta (time, group, etc) on files and sub-directories, not root directory
- by Svish
I am copying some files (all except hidden ones) using rsync from one place to another using this command:
rsync -Cav --delete --exclude=.* /Some/Directory/ other-host:/Other/Directory
It works nice except that I get the following errors:
rsync: chgrp "/Other/Directory/." failed: Operation not permitted (1)
rsync: failed to set times on…