scanarium-shell-injector allows to upload files for scanning in Scanarium right from your console.
- Install curl. (On Ubuntu-like systems, run
sudo apt-get install curl) - Add your username/password to your
~/.netrcby adding a line like (obviously replacingYOUR-SCANARIUM-USERNAMEby your username andYOUR-SCANARIUM-PASSWORDby your password):
machine YOUR-SCANARIUM-USERNAME.scanarium.com login YOUR-SCANARIUM-USERNAME password YOUR-SCANARIUM-PASSWORD
- Done \o/
To upload the file foo.jpg to your Scanarium, run (replacing /path/to with the path to the script, and YOUR-SCANARIUM-USERNAME with your scanarium username):
/path/to/inject.sh --user YOUR-SCANARIUM-USERNAME foo.jpg
If the username that you use on your computer matches your Scanarium username, you can leave the --user YOUR-SCANARIUM-USERNAME part away and a simple /path/to/inject.sh foo.jpg will do.
Passing the argument --help to the script will show all available arguments.
Please use GitHub's issue tracker to report feedback or issues.