gal3upload - a command line uploader for Gallery3

tshannon

Joined: 2012-04-20
Posts: 7
Posted: Sun, 2012-04-22 03:32

The flash uploader has been a pain to deal with, I couldn't find a working upload client that ran on linux, so I decided to write one. I had found a little bit of demand on the forums for a command line uploader, that and it was much faster to throw together a working app without dealing with the overhead of a GUI, so here it is:

http://code.google.com/p/gal3upload/

Quick Start
./gal3upload -u "http://url-of-your-gallery/index.php" -a "apikey" -r

This will recursively run against the current directory creating galleries for every subfolder found (if a matching gallery name doesn't already exist), and uploading any images it finds (if a matching image doesn't already exist in the gallery).

This should allow you to simply manage your gallery online by managing a local folder structure.

More detailed options can be found in the full ReadMe.

Let me know if you run into any issues with it, or even if you just happen to use it. I built it to scratch my own itch, but it hope it's useful to someone else as well. It was written in go.

 
tshannon

Joined: 2012-04-20
Posts: 7
Posted: Mon, 2012-05-14 19:02

Looks like maybe 10 - 13 people have downloaded the client, which is great. If you have you may want to grab the latest version, as there was a bug where images would upload to the wrong album if they were named the same. For instance if you had a gallery structure like 2012/May and 2011/May, you could be uploading into the wrong May folder.

The latest is always here: http://code.google.com/p/gal3upload/downloads/list

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-05-14 23:21

Only 10-13? With all the flack we got over the flash upload method I thought there would be more people interested.
It is on the http://codex.gallery2.org/Category:Gallery_3:Other_Clients page.
Got a better place in the docs so people can find it easier?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tshannon

Joined: 2012-04-20
Posts: 7
Posted: Tue, 2012-05-15 18:01

I know that's where I looked when trying to find a Linux compatible client. I'm not aware of any other place. Thanks for adding mine.