Organizing your dropbox Camera Upload folder with Go

A few years ago I wrote a small Python script to organize the photos uploaded from your phone to Dropbox. Lately, I have been rewriting some of my python scripts to golang for practice and also performance.

All photos are uploaded to Dropbox with a name pattern like 2018-08-01 05.56.40.jpg. What all it does is to parse the date and move it to the right place, for example, 2018-08-01 will move it to a folder called 08-August inside 2018.

golang dropbox photo organizer

Source code:

You can also download the compiled file below, just make sure you make it executable with

chmod +x organize_photos

and run it with


Download link.

3 comments on “Organizing your dropbox Camera Upload folder with Go

  1. Stel March 31, 2019 7:47 pm

    Really useful script but (and sorry for my ignorance) how can I “install” this script?
    Can I do this on my desktop installation (Mac)?
    thank u

  2. stel March 31, 2019 7:58 pm

    Hi again
    I understand that I have to put the .py file (which I didn’t find in the website) in the camera upload folder and then run terminal command. After all the comment I ve read do you have a final version of this file available?
    thanx again

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.