Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jgambill on github.
  • I am jgambill (https://keybase.io/jgambill) on keybase.
  • I have a public key whose fingerprint is 1D5B D9BF C641 E335 A482 FA83 3BF6 B21B 1AC0 5D60

To claim this, I am signing this object:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Vanderbilt Bioimages</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.4/cosmo/bootstrap.min.css">
<link rel="stylesheet" href="/stylesheets/style.css">
@jgambill
jgambill / exiftool-processimage.sh
Created October 12, 2013 01:52
Use exiftool to: remove a field, copy DateTimeOriginal to all dates fields, change 'JPG' file extensions to 'jpg', rename files in chronological order using date and an incremented id #. I have this as an Automator workflow (Folder Action); therefore, these actions are performed on all image files in the specified directory (/Users/username/path…
cd /Users/username/path/to/process/folder
# remove MakerNotes field to appease iOS 7 pics in exiftool
exiftool -MakerNotes= *
# copy DateTimeOriginal to all dates fields
exiftool "-FileModifyDate<DateTimeOriginal" *
exiftool "-AllDates<FileModifyDate" *
exiftool "-FileModifyDate<CreateDate" *