uploadr2set - upload photos to flickr

This morning an article on lifehacker inspired me to finally upload a python script I worked on half a year ago: it’s an extension of uploadr.py which monitors a specified folder on your harddrive and uploads images you put in there to flickr.

I store photos in subdirectories on my harddrive, with the subdirectory beeing a short description of the date and the event the photos were taken on. On flickr, my directories are represented by photosets. Unfortunately uploadr.py wasn’t able to create any photosets out of my uploaded images, so I modified it and uploadr2set emerged.

uploadr2set basically works like uploadr.py but unlike uploadr.py it creates new photosets out of subdirectories in your upload directory.

So if you organize your photos like I do, give uploadr2set a try!

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • Wists
  • StumbleUpon
  • Technorati
  • YahooMyWeb

4 Responses to “uploadr2set - upload photos to flickr”

  1. 3rdparty Says:

    thanks for posting this, you’ll save me lots of time!

    a couple of questions;

    - whats the easiest way to log results? run it in a python client (IDLE)? when I run it as a command the windows (results) close once its complete. It also closes if there is an error. Is there a simple way for the script to spit out a .txt file of its results?

    - do you know how it remembers what it has uploaded in the history? if the directory changes, but the filename stays the same, does it get confused?

  2. Raphael Says:

    > - whats the easiest way to log results? run it in a python client (IDLE)? when I run it as a command the windows (results) close once its complete. It also closes if there is an error. Is there a simple way for the script to spit out a .txt file of its results?

    I didn’t try this one out, but it should work pretty easy: if you run
    it on windows just open the command line (cmd) and start the script
    from there. You’ll see all the results without closing the window.
    Otherwise “start” is a windows commando that could be suitable but
    you’ll have to google for usage details

    If you run it on linux, just use the cron-entry and replace the final
    part with the txt file you want to store the log in:

    0 * * * * /full/path/to/uploadr2set.py > yourlogfile.txt

    > - do you know how it remembers what it has uploaded in the history? if the directory changes, but the filename stays the same, does it get confused?

    It saves combinations of directory/filename in a history file, so if
    you just change directory names they will be uploaded once again.

  3. dang Says:

    Thanks for the script, it works great! However, from what I can tell, it doesn’t seem to recognize files that were already uploaded successfully. it ends up creating duplicates on my flickr account when I run it.

    is this because it doesn’t look in the right directory etc? I was almost sure that the original py file checked if it was successful or not and put it in the history log.

    thanks again!

    dang

  4. andy Says:

    Just used your script to upload well over 11000 photos and it’s still going - saved me a ton of work once i decided to give it a go. Many thanks!

Leave a Reply