Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say that I want to sync a folder with unison, but I want to sync only .jpg files.

How I could do that?

share|improve this question
up vote 2 down vote accepted

You need to add the following lines to your profile:

ignore = Name ?*
ignorenot = Name *.jpg
share|improve this answer
4  
ignore = Name ?* did not work with me, replaced with ignore = Name {,.}*{.*} – Magnetic_dud May 1 '12 at 7:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .