Ignore file with "dot" + UUID name

Hi everyone,

I’d like to ask help to filter a specific file name using Stignore, that I was not able to find a solution bymyself.

The files are within a folder and the file namestarts with a dot (“.”) and the rest of the name is a UUID, like these:

  • .435D426A-62F8-4CC9-DA0E-693186C28FBE
  • .E37D4894-F421-5BF9-8360-B3A81EED81B4
  • .F3646F9B-0BA3-DBC7-BFCF-9273A535AB63
  • .918CF499-D1B4-0ED7-917A-25AFDA8C5AF2
  • .47B37A01-21F9-B3DD-2996-0317B744E6AA

In stignore file, I tried to filter like:

  • .-
  • .*

But despite the filters, Syncthing keeps trying to sync it.

try this: .????????-????-????-????-????????????

Thank you for the suggestion, but it didn’t work as well.

Are you using the Web GUI to edit the ignore patterns or are you editing .stignore directly? I would suggest using the Web GUI to make sure that no other characters are getting input into the patterns. When in the Web GUI, please also take and post a screenshot of your patterns.

For the record, .* should be enough to ignore all those.

1 Like

I tried both ways, editing directly the .stignore file using a text editor and also using the Web GUI. In both cases it doesn’t work.

The file currently has the following patterns:

  • .????????-????-????-????-????????????
  • .*-*
  • .*
  • *

None of them work, Syncthing keeeps trying to sync these files.

Yeah, I would strongly suggest to post some screenshots of the Web GUI, as those patterns look perfectly fine.