Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


BASH | 5 comments | Create New Account
Click here to return to the 'BASH' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
BASH
Authored by: joelbruner on Nov 26, '07 04:16:25PM
Nice! The Ruby way is super quick... of course I found it after I cobbled together a bash version -- not as fast cause I used a bunch of pipes to other progs, but's that's UNIX eh? So here's a shell script for Unix edification:

#!/bin/bash
strings "$1/..namedfork/rsrc" | grep -a -A 1 CFBundleGetInfoString | grep string | sed 's/<string>//g' | awk {'print $1'}
Here's Apple Technote 2013 of plst resource forks
Also, while investigating resource forks, I found Rezilla an awesome freeware OS X app for getting into resource forks... I never did want to pay for ResEdit

[ Reply to This | # ]