Make the CLI take one or more "filter" expressions which would be python glob expressions (via fnmatch: https://docs.python.org/2/library/fnmatch.html). This would allow for filtering directories but also also for including only specified file types. Probably would want to be able to specify multiple inclusion patterns and exclusion patterns (e.g. putio-sync -i 'mydir/' -e '.srt').
Pass this set of filters into PutioSynchronizer (in core.py)
Make the CLI take one or more "filter" expressions which would be python glob expressions (via fnmatch: https://docs.python.org/2/library/fnmatch.html). This would allow for filtering directories but also also for including only specified file types. Probably would want to be able to specify multiple inclusion patterns and exclusion patterns (e.g. putio-sync -i 'mydir/' -e '.srt').
Pass this set of filters into PutioSynchronizer (in core.py)
Apply the filter in _perform_single_check