I use Amazon S3 for backup, and find that it’s hard to use because there’s no search function, so I can’t see what I’ve backed up.
So, I extended s3cmd.rb (comes with the WONDERFUL s3cmd.rb rsync clone for Amazon S3) with a search command.
Now I can use s3sync.rb to rsync my files up, then type:
s3sync.rb search bucket_name:path/to/restrict/search search_term
and I get, for example:
you just spent 6.0e-05 cents
The last line is because the price of making a list request in s3 is $0.01 per 1000 requests in the US; so I thought it’d be a good idea to tell people how much they’re spending.
I’ll try to commit this to the main s3sync.net codebase, but for now you can just download it here: s3sync