How to sync only one file type with Unison?
You need to add the following lines to your profile:
ignore = Name ?*
ignorenot = Name *.jpg
You need to add the following lines to your profile:
ignore = Name ?*
ignorenot = Name *.jpg