% wget https://github.com/downloads/dakrone/gh-upload/gh-upload-1.0-standalone.jar % export GHUSER=dakrone % export GHREPO=cheshire % export GHREPOOWNER=dakrone % export GHPASS=mysupersecretpassword % java -jar gh-upload-1.0-standalone.jar /path/to/file.data Checking if file already exists... Deleting existing file (200894)... Uploading file /path/to/file.data... Done.
There were a lot of tools for uploading a file to github, but none that were standalone java utils.
Won't work with openJDK 7, because of cert issues.