Usage of gsync:
gsync [options] sourceDir destDir
-v verbose
-f try to chmod unwriteable destination
-m XYZ write files/directories with octal mode XYZ
gsync recursively copies sourceDir to destDir,
creating directories as necessary in the destination.
By default the file modes are copied; -m overrides this.
If the destination files are not writeable, -f will
attempt to make them writeable (and then restore to
the desired protection afterwards).
copyDir recursively copies all files from srcDir to dstDir,
ignoring files that already exist in dstDir.
force causes an attempt to chmod a not-writeable destination file.
the default file mode is copied from the source,
and the default directory mode is 0755. If mode != 0 ,
this overrides the default choices for file and directory modes.