My notepad

Chris' IT notes…
← Back

Rsync - force chmod

Example

sh
# rsync -av --no-perms --no-owner --no-group --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r /source/path/ username@IP:/destination/path

(remove -v if it's in a CRON)