I create a Unison setup between my work computer and my desktop at home. This way, I can continue my work at home (and vice versa), even when I forgot to commit something to GIT at work (and vice versa).
In my Unison profile, I am using the following properties:
auto = true
batch = true
silent = false
confirmbigdel = false
times = false
perms = 0
prefer = newer
copythreshold = 0
copyprog = /usr/bin/rsync -avz -X --checksum --partial --append-verify -e ssh
copyprogrest = /usr/bin/rsync -avz -X --checksum --partial --append-verify -e ssh
This does the job, except for one small thing: the executable flag is not transferred. When I apply changes on a .sh file at work, I have to manually do chmod +x again on my computer at home.
Is it possible to transfer this flag?