stephenh / mirror

A tool for real-time, two-way sync for remote (e.g. desktop/laptop) development
Apache License 2.0
391 stars 37 forks source link

exclude file pattern issue #59

Closed rameshar16 closed 4 years ago

rameshar16 commented 4 years ago

Hi @stephenh,

I have given the exclude file pattern as "--exclude='Upload/*'". Here the service is excluding all the files along with the "Upload" dir. I want to exclude the file/suddirs of 'Upload' dir and it should sync the 'Upload' dir.

Please help me on fixing the issue.

Thanks and Regards, Ramesh AR

stephenh commented 4 years ago

I want to exclude the file/suddirs of 'Upload' dir and it should sync the 'Upload' dir.

I don't understand. Can you give an example with concrete file paths? I.e. Upload/foo/bar.txt does X and Upload/zaz/whatever.txt does Y but you want it to do Z?

stephenh commented 4 years ago

Closed for lack of clarification/concrete example.

rameshar16 commented 4 years ago

It is working for me after I give the exclude dir pattern as '/Upload/'

Thank you @stephenh