Skip to content

Instantly share code, notes, and snippets.

View slindner05's full-sized avatar

Scott Lindner slindner05

View GitHub Profile
@slindner05
slindner05 / organize-photos.py
Last active November 8, 2019 19:43 — forked from cliss/organize-photos.py
Photo management script. This script will copy photos from "~/Pictures/iPhone Incoming" into a tree the script creates, with folders representing month and years, and photo names timestamped.Completely based on the work of the amazing Dr. Drang; see here: http://www.leancrew.com/all-this/2013/10/photo-management-via-the-finder/You can see more a…
#!/usr/bin/python
import sys
import os
import subprocess
import shlex
import os.path
from datetime import datetime
from dateutil import tz
from dateutil.parser import parse