Enforcing hidden file attribute in the Windows world

(Carlo Marsura) #1

I have to sync several Windows machines where some directory have many files that have the HIDDEN attribute bit set. On the destination machines, after the synchronization is done, the attribute is lost, so I must resort to use some scripts to keep the files synced with this attribute. I see that the HIDDEN attribute is already used in the Windows version of Synchthing, for hiding the temporary files under sync, but then it is removed on final rename. Having this attribute enforced in this platform will be very beneficial, at least for who use this very useful tool in this os platform that is very popular. Using v0.14.47, Windows (64 bit)

(Jakob Borg) #2

Yeah currently the hidden attribute is not synced. It would be a fair feature request to do so, I think. Mind filing it on GitHub?

(Carlo Marsura) #3

Yes, I will file it on GitHub. Thanks Jakob

(uok) #4

Link: https://github.com/syncthing/syncthing/issues/4935