Thanks Nathan for making a clever patch to the photo organizer script:
Hello Patrick,
I stumbled accross your script for sorting photos and was
amazed. Somehow, it hadn't occured to me to write such
a script. I knew within immediately that there would be
one minor change I would need to make and I have
included it below. I always name my folders as
YYYYMMDD, so that they will sort properly. Thank you
for doing all the work on this simple, but wonderful
tool. I am certain that I will use it quite regularly
for many years.
-- Nathan
# Modified on 20050224 by Nathan Chilton
# Hopefully my only modification. I do not
# like this date format because it does not
# sort correctly. So, I have changed it to
# my preferred format:
#fdir = "#{fmonth}_#{fday}_#{fyear}"
fdir = "#{fyear}#{fmonth}#{fday}"
The updated script can be found here:
http://lacson.name/scripts/organizer.rb.txt (ruby)
and
http://lacson.name/scripts/organizer.py.txt (python)


0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.