JeremyGrosser / tablesnap

Uses inotify to monitor Cassandra SSTables and upload them to S3
BSD 2-Clause "Simplified" License
181 stars 86 forks source link

Add exclude option #14

Closed ctavan closed 12 years ago

ctavan commented 12 years ago

I've added a --exclude option to allow specifying the excluded files. It defaults to '-tmp' so it's backwards-compatible. A regex can be provided.

I'm doing this because I want to use the tool for other, non-cassandra, use-cases where that stuff that's being backed up are not SSTables but arbitrary files that get moved to a directory.

Also contains the patch from #17

ctavan commented 12 years ago

This pull request is also ready to be merged now (before #15 and #16).