I'm loving Hazel so far and am having great success with the simple rules I've set up. My favorite so far is using the EXIF data to rename images in my Dropbox Camera Uploads folder. I'm doing that using this embedded script:
- Code: Select all
exiftool -P -d '%Y-%m-%d %H.%M.%S' \
'-filename<${FileModifyDate;}.%e' \
'-filename<${GPSDateTime;}.%e' \
'-filename<${MediaCreateDate;}.%e' \
'-filename<${ModifyDate;}.%e' \
'-filename<${DateTimeOriginal;}.%e' \
"$1"
I don't know anything about bash/shell scripts, but I found that somewhere and it's working great.
Now what I'd like to do is set up a new rule that renames images based on the time between the Date Created and a specific date. The purpose is to drop "growth" photos of my dog into the "growth" folder and have hazel rename the photo "Dog at X.XX weeks" where X.XX is the number of weeks between the date created and 8/2/15, his birthday.
Can anyone help me do this? Thank you!