0

Using unison for synchronization on mac, I would like to ignore files such as .DS_store in each directory. In my profile file, I put, as described in section "Ignored path" of the page.

ignore = Regex *.DS_Store
ignore = Regex *\.DS_Store
ignore = Regex "*.DS_Store"

but either it didn't work or I have the error: line 33: Malformed pattern "Regex *.DS_Store".

Smilia
  • 310
  • 3
  • 15

1 Answers1

0

You don't need to use regex for this; the standard globbing patterns that Unison uses for all pattern matching without the Regex command will do just fine.

ignore = Name *.DS_Store