|
|
Organize a huge number of photos into a hierarchy
I liked the idea of using jhead but my needs were a little different. I wanted my target directory structure like this: /Photos/2004/01/06. Also, I did not want to change the image name. Finally, I wanted to use jhead's "-ft" to change the file time to the EXIF capture date/time.
I got the idea after looking at DateTree. This is a really nice application and will do almost what I wanted. The only difference is that I wanted the files "moved" and not "copied". Since the files are not renamed, there is the possibility of a duplicate so I had to factor that in as well. I've written a few perl scripts before so I decided to write one to satsify my needs. It's fairly basic but does the job :)
As the original post suggested, you can use "find" to search for the files you need and execute this script:
The "| tee mvimg.log" at the end creates a log file of the output so you can grep for "skipped" or "duplicate" messages.I'll probably just use it like mvimg.pl *.JPG from the directory containing the photos I want to organize. Don't forget to put this script in your path somewhere and chmod u+x mvimg.pl so it is executable.
Organize a huge number of photos into a hierarchy
I forgot to mention that I used to use iPhoto but for various reasons, I switched to iView Media. My intention now is to download my new images, run my <tt>mvimg.pl</tt> script then add them to my iView Media catalogs. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|