Specific folder in ignore list


Is there any way of using a fixed path in the ignore list, using an equivalent of the caret ^ in a regex for example?

I have a folder /Media at the top level of a drive that I would like to sync, however I also have a /Temp/Media subfolder that should be synced.

I’ve tried putting “Media”, “Media/”, “/Media/” and various other strings in the list, but anything I use either ignores everything, or syncs everything.

I’ve searched the docs for fnmatch, but I don’t see an equivalent. Is there another solution if this isn’t possible?



Anyone have an idea?