synack/tablesnap — pull request #21 by ctavan (2012-11-08 09:29:43+00:00)
Title: Add include parameter

I have the following use case: I only want to back up files ending with `.gz`. I could write a complicated exclusion rule to exclude fall files not matching that string but that would be tedious.

Consequently I've added another option `--include` which is mutually exclusive wrt `--exclude` and which allows specifying and inclusion pattern instead.

To retain backwards compatibility if none of the two options are given, then all files matchin `-tmp` will be excluded.