Filentory-cli

A tool to create an inventory of a storage medium.
Installation
Add this line to your application's Gemfile:
gem 'filentory-cli'
And then execute:
$ bundle
Or install it yourself as:
$ gem install filentory-cli
Usage
$ filentory-cli --log-level fatal "demo" .
{
"^o":"Datastore",
"name":"demo",
"files":[
[
{
"^o":"FileEntry",
"path":".",
"name":"50quickideas.pdf",
"last_modified":"2014-01-01T18:06:12+01:00",
"size":49447,
"checksum":"348a5b72877dcb5e0354f8eef62e5ff4e546043881dd051b9f8c2dea6ab23bb7"
}
]
}
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Testing
Start the minimal web service as a endpoint to send data with this command:
$rackup features/support/config.ru