bookmark_borderOrganizing 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

./organize_photos

Download link.

bookmark_borderWacken 2018 Band Parser

Today I decided to write a quick script to parse the bands who are confirmed for the Wacken Open Air 2018 festival. I am still not sure if I will do much else with it, but thinking it could be interesting to improve the code to send an email every time a new band is added, what do you think?

The repo for the project -> https://github.com/dansku/wacken_parser

The response is a JSON file like:

[  
  {  
    "bandAddedOn":"06.08.2017",
    "bandUrl":"http://www.wacken.com/en/...",
    "bandName":"Amorphis",
    "bandImage":"http://www.wacken.com/....png"
  }
]