Skip to content

Instantly share code, notes, and snippets.

View dstevensio's full-sized avatar

Dave Stevens dstevensio

View GitHub Profile
# I use the Dropbox iPhone app, and I love it - automatically backing up my photos to the cloud? Great!
# However, automatic uploads from your camera roll go to "Camera Uploads". If, like me, you can often
# forget to go in and sort your photos for a while, pretty soon there's so much in there it becomes slow
# to load. Use this script from the command line to move your photos in to a folder named "Unsorted Photos
# By Date" (you can change that on line 75 by setting basefolder) with subfolders for YEAR and then MONTH.
# Run this manually whenever things get out of hand, or have it running as a cron job or similar to automatically
# stay on top of things.
# You'll need the Dropbox Python SDK installed, as well as Colorama (pip install colorama)