Syncthing: Create Unix dotfiles as hidden files in Windows

Created on 5 Sep 2018  路  3Comments  路  Source: syncthing/syncthing

I'm syncing between Windows and Linux hosts, and I'd prefer if SyncThing would mark newly created dotfiles as hidden automatically in Windows. If the user later decides to unhide the files, that's okay. The hidden attribute should only be applied upon creation of a file.

Maybe SyncThing could have an option like "hide-on-creation" which I could fill with patterns. It could default to a list like:

.*
desktop.ini

See also another report #4935 about storing Windows attributes in xattr data to preserve them across different file system architectures.

enhancement good first issue

Most helpful comment

I think this would match how we try to handle execute bits from Windows files etc, so seems reasonable. (The dotfiles part; I'm less convinced about the configurable patterns thing. And the xattrs things is a totally different issue.)

All 3 comments

I think this would match how we try to handle execute bits from Windows files etc, so seems reasonable. (The dotfiles part; I'm less convinced about the configurable patterns thing. And the xattrs things is a totally different issue.)

I would like to work on this issue if this is still open, but I am new to this community and I may need help.

Per the discussion on the pull request this is not a desirable feature. Hence, based on feedback, I've decided we should not implement this.

Was this page helpful?
0 / 5 - 0 ratings