Updating Action bundle modification dates

A bit of a technical request…

I’m getting a bit fed up of dealing with various Action bundle files (fwactionb) that display modification dates that have nothing to do with the Actions they contain. I blame myself as I often copy an existing bundle rather than creating a new one from scratch. The issue is amplified when users download these Actions and complain that they are using ones from a zillion years ago because the mod date is way off.

Other than manually updating the modification date of the bundle can anyone recommend a way to automatically ‘touch’ the bundle with the date of the most recent Action within it? I suspect I’ll end up creating a droplet for this that does the job with AppleScript but not if someone can point me to an existing utility that could do this for me.

Any ideas?
Thanks,
Tim.

FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I have gotten into the habit of synchronizing the version numbers of all Actions within a single bundle, and then updating the version numbers all at once when one or another changes. This has the benefit of touching the /Contents/info.plist (because the version string is in there as well and gets modified) and from my experience, that is where Finder Get Info is getting its modification date (and version string) from.

<key>CFBundleShortVersionString</key>
<string>0.5</string>
<key>CFBundleVersion</key>
<string>0.5</string>

I open the entire bundle with TextMate, which gives me access to the structure of the nested folders, and I just do a global find-and-replace for the version string across all files therein. Watch out for library files that might have a similar string somewhere before you press Replace All!

Walter

On Nov 2, 2012, at 1:34 PM, Tim Plumb wrote:

A bit of a technical request…

I’m getting a bit fed up of dealing with various Action bundle files (fwactionb) that display modification dates that have nothing to do with the Actions they contain. I blame myself as I often copy an existing bundle rather than creating a new one from scratch. The issue is amplified when users download these Actions and complain that they are using ones from a zillion years ago because the mod date is way off.

Other than manually updating the modification date of the bundle can anyone recommend a way to automatically ‘touch’ the bundle with the date of the most recent Action within it? I suspect I’ll end up creating a droplet for this that does the job with AppleScript but not if someone can point me to an existing utility that could do this for me.

Any ideas?
Thanks,
Tim.

FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter. I tried something similar with TextWrangler but the Finder didn’t pick up on the plist updates. Maybe I need to force Spotlight to reindex the file before the changes show up.
Regards,
Tim.

On 2 Nov 2012, at 17:41, Walter Lee Davis wrote:

I open the entire bundle with TextMate, which gives me access to the structure of the nested folders, and I just do a global find-and-replace for the version string across all files therein.


FreewayStyle.com - Free Freeway templates and parts to download, use and explore - http://www.freewaystyle.com


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options