This uses sh
package. Install it using pip
.
$ (sudo )pip install sh
Then place this script with the name imgur
in some location that's in your PATH
, chmod +x
the file and upload like this
$ imgur ~/Pictures/Screenshot\ from\ 2013-10-06\ 20:01:32.png