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".

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
Smilia
  • 300
  • 3
  • 14

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
Mike Pierce
  • 737
  • 1
  • 6
  • 23