When editing a file e.g.
file.txt
emacs creates a corresponding lockfile:
.#file.txt
The lockfile gets automatically deleted after the file has been saved.
Now I want to exclude all files that begin with “.#” from synching.
I added the most obvious matching pattern in the .sync-exclude.lst:
.#*
but it does not work. Neither do regular expressions like:
^\.\#
^\\.\\#
Any suggestions?