Skip to content

Take disorganized files and move them into a nested date directory structure

Notifications You must be signed in to change notification settings

philsturgeon/photo-unfucker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

photo-unfucker

Importing photos sucks. I used to use iPhoto, which does dupe detection, organizes by exif dates and all sorts of other things.

Apple can go fuck theirselves. iPhotos is salty garbage. Using iPhotos on a network share is just downright ludicrous.

Instead, this dodgy little (completely untested) ruby script is clearly more trustworthy.

Setup

# Install brew stuff
brew bundle

# Install ruby stuff
bundle install

Usage

Point it at a folder full of your pictures like this but READ THE WHOLE README BEFORE YOU RUN THIS OR SO HELP ME!

IMPORT_PATH=/Users/psturgeon/Pictures/import/ ruby rename.rb

This will move files out of the import folder (using actual mv) and into a new structure like this:

2018/2018-12/2018-12-01 23:59:59.jpg

The output folder will be ./export unless you provide EXPORT_PATH too.

It has duplicate detection with checksums, and it'll even try to help you out when EXIF dates are missing:

This probably only works on OSX, who knows. πŸ‘‹πŸ»

About

Take disorganized files and move them into a nested date directory structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages