How do I go about choosing the permission of files on the fly in rsync?
So that when a backup is done, all the files are chmodded say, 700. There is a --chmod flag but it does not use the standard syntax and is not really documented.
The dirty way is to just have a script run chmod -R 700 but I'm wondering if there's a way within rsync to do it.
So that when a backup is done, all the files are chmodded say, 700. There is a --chmod flag but it does not use the standard syntax and is not really documented.
The dirty way is to just have a script run chmod -R 700 but I'm wondering if there's a way within rsync to do it.