Fixing DateTimeOriginal on 3GS JPGS

Started by corn, May 12, 2013, 12:22:39 PM

Previous topic - Next topic

corn

Hi All,

I'm using this tool on a linux machine to tidy up the mess that is 10+ years of family photos. I'm using the following to orgainise the files by year and month.

exiftool -o . '-Directory<DateTimeOriginal' -d ~/Pictures/%Y_%m -r ~/my/archive/dir

The issue I'm having is with images that do not have DateTimeOriginal data, specifically images taken with the 3GS phone, every time one of these files are found I get the "Warning: No writable tags found ..."

The plan would be to change the command so that when it encounters files with no DateTimeOriginal, the CreateDate is used and if no CreateDate, the FileModifyDate is used.

Thanks in advance for any help.
Corn

Phil Harvey

Hi Corn,

Try this:

exiftool -o . '-Directory<CreateDate' '-Directory<DateTimeOriginal' -d ~/Pictures/%Y_%m -r ~/my/archive/dir
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

corn

Thank Phil,

All working as expected. Great tool and apologies for the tardy response.

Corn