Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

a basic README

  • Loading branch information...
commit 0143cf5e1c55ab7a1a1cf155bbfe47a3609f1fde 1 parent 3cf6b5a
Pierre Andrews authored

Showing 1 changed file with 42 additions and 0 deletions. Show diff stats Hide diff stats

  1. +42 0 README
42 README
... ... @@ -0,0 +1,42 @@
  1 +Author: Pierre Andrews
  2 +Version: 1.0
  3 +Release: 10 August 2007
  4 +
  5 +this is an Automator action (for Apple Automator.app) that takes a list of images as input and will move them according to a special pattern which can contain EXIF data.
  6 +
  7 +For example, if you have a bunch of images that you want to move in directories named from the date they were taken, like:
  8 +2007
  9 + 08
  10 + 12
  11 + IMG_1.jpg
  12 + IMG_2.jpg
  13 + 07
  14 + 25
  15 + IMG_3.jpg
  16 +2006
  17 + 01
  18 + 28
  19 + IMG_4.jpg
  20 +
  21 +You can pass them to this automator action with the pattern:
  22 +%Y/%m/%d/
  23 +
  24 +From the EXIF data,
  25 +%Y will be replaced by the year
  26 +%m will be replaced by the month
  27 +%d will be replaced by the day
  28 +
  29 +the directory structure will be created and the file moved in the right directory.
  30 +
  31 +The date format is the one provided by the strftime tool. See it's man page for details.
  32 +
  33 +You can also tell the tool to extract other EXIF information by putting the field name between ':' in the pattern:
  34 +%Y/%m/%d/:Model:/
  35 +will put the photos in subdirectories by date and model of the camera.
  36 +
  37 +This will only work on files with EXIF fields and on system with exiftool installed.
  38 +
  39 +There are also special patterns:
  40 +:basename: is the name of the file, without extensions
  41 +:ext: is the extension of the file, with the .
  42 +:cnt: is a counter for the file.

0 comments on commit 0143cf5

Please sign in to comment.
Something went wrong with that request. Please try again.