Hi,
This is a specific question but I think it has some wider use-cases...
I've been using If This Then That (IFTTT) to download a copy of images which I "like" on Instagram to a Dropbox folder.
Unfortunately, although IFTTT allows you to rename the file with various tokens, it does not provide much in the way of the formatting of those tokens - for example you can have a 'date' token in the filename, but it does not allow you to specify the format of that date, and what it provides does not comply with ISO 8601.
So I now have images of the format monthname_DD__YYYY_at_HHMMxM-username-imagetitle_seperated_by_underscores.jpg
E.g. April_01__2013_at_1120AM-someuserorother-April_Fools_Day_Pic.jpg
I'd like to set up a Hazel rule to watch the folder and process images where filenames match these patterns, renaming them into a custom format such as one based on ISO8601:
2013-04-01_1120AM-someuserorother_April_Fools_Day_Pic.jpg
It will have to work on the filename - it cannot simply go off the date when the image is created, as I might "like" an image (and thus have a copy created in my Dropbox) well after the original image is posted.
I can see this having much wider applicability for a wide range of cases - e.g. depending on how it is implemented, whether it uses Regex or substring/left/right/etc. matching and so on.
Any suggestions would be gratefully appreciated - thanks for your help!