You are not logged in.
Hi, using the manual i found pretty quickly how to create a single folder with the date but not folders within folders as I can't figure how to call separate month, day, or year EXIF metadata tags. Ultimately I was hoping to do this via command line where I could dump new photos in a folder and have something like windows tasks run renamer once a day and automatically file the photos away according to thier EXIF dates but I still need to figure the EXIF dating part out. Any thoughts? Thanks in advance!!
Offline
For creating a folder structure I would utilize just a common scripting tool, not a renamer.
For example with PowerShell:
- launch PowerShell
- cd in your starting folder where you want to create that folders (mine was c:\temp\ps\Y\)
- execute this one-liner:
foreach($year in 1987..2014){
foreach($month in 1..12){
foreach($day in 1..31){
MD ("$year\\{0:D2}\\{1:D2}" -f $month,$day) > $null
}
}
to get folders from
c:\temp\ps\Y\1987\01\01\
...
...
till
c:\temp\ps\Y\2014\12\31\
-----------------
To sort pictures into the right folders, you could utilize a script like this one-liner:
- launch PowerShell
- cd in your starting folder where you have the years folder and all the new pictures
- execute this one-liner:
dir | where{$_.PSisContainer -eq $false}|
%{ $LWT=$_.LastWriteTime; $target="{0:yyyy}\\{1:MM}\\{2:dd}" -f $LWT,$LWT,$LWT;
copy $_ $target
}
Instead of 'copy' you could use 'move' there it everything works as wanted.
I utilize here the modify time, as exif is not directly supported in PowerShell,
but there is a script somewhere in the inet and there is this command line exif tool from Phil Harvey we could utilize.
There is a den4b ReNamer PascalScript example, utilizing an EXIF tool too at the wiki which could be used to do this all with ReNamer.
http://www.den4b.com/wiki/ReNamer:Scripts
But I guess a native system script would be better to add to the task scheduler.
- - - EDIT
It seams that tools has all the wanted feature already on its own:
Or a new directory can be specified by setting the value of the Directory tag.
For example, the following command moves all images originally in directory "DIR"
into a directory hierarchy organized by year/month/day:exiftool "-Directory<DateTimeOriginal" -d "%Y/%m/%d" DIR
Read here for more details about this powerful feature.
http://www.sno.phy.queensu.ca/~phil/exiftool/
c:\temp\ps\Y>exiftool "-Directory<DateTimeOriginal" -d "%Y/%m/%d" .
1 directories scanned
8 directories created
8 image files updated
c:\temp\ps\Y>
Last edited by Stefan (2014-01-12 19:26)
Read the *WIKI* for HELP + MANUAL + Tips&Tricks.
If ReNamer had helped you, please *DONATE* to Denis or buy a PRO license. (Read *Lite vs Pro*)
Offline
There is a simpler solution, change the date/time format of meta tags to "yyyy\mm\dd\yyyy-mm-dd" (in the Settings).
Then, simply insert EXIF date meta tag as follows: ":EXIF_Date:\"
You can also use command line renaming capability to automate this task.
Offline