[Krename-users] use date only from exif datetime
Brought to you by:
domseichter,
stonki
From: todd r. <tod...@gm...> - 2012-01-26 12:31:27
|
I have a bunch of pictures that I want to move to folders based on the date they were taken. These pictures all have exif datetime fields, which list the date in the format "YYYY:MM:DD HH:MM:SS". However, I want to put them in folders of the form "YYYY-MM-DD". I cannot figure out how to do this. There seem to be three approaches to do this, all of which would be useful but none of which I can get to work: 1. Specify the format of the exif date and time. The "date and system function" plugin lets you specify a custom date and time format. Using the same syntax does not seem to work with exif date and time, though. 2. Select a subset of the string. The built-in functions let you do this to the filename, but I cannot figure out a way to do this with other arbitrary strings from functions 3. Regular expressions. Making a regular expression to do this is easy enough, but the folder separator gets converted to its HTML character code: input: "(\d+)\:(\d+)\:(\d+) \d+:\d+\:\d+" output: "\1-\2-\3" Is there a way to get any of these method to work? -Todd |