Ignoring all files except image files


Question one:

I’d like to include all jpg and png files in shared directory and all subdirectories. Is this correct



Question Two:

Is there a separate .stignore file for each device or do they both use the same .stignore file. Eg. if I edited .stignore on my phone, does it change the .stignore file on my server (for the same folder pair)?

Thanks Kiwi

Pattern order matters as first matched pattern is applied, so in your case nothing will get synced.

.stignore is completely independant.

ok thanks


I think that works for all png and jpg files recursively.

1 Like

You wouldn’t even need the double asterisk, just !*.png would be enough.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.