if ($answer_counter == 1): ?>
endif; ?>
#!/bin/sh
applist="Path Finder
Skim
TextWrangler"
IFS=$'\n'
for appname in $applist; do
apppath=$(mdfind -onlyin /Applications/ -onlyin ~/Applications/ \
-onlyin /Developer/Applications/ -onlyin /System/Library/CoreServices/ \
'kMDItemKind == Application' | grep -i "/$appname.app$" | head -1)
echo $apppath
date=$(date '+%y%m%d%-H%M%S')
cp "$apppath/Contents/Info.plist" "$apppath/Contents/Info-$date.plist"
defaults delete "$apppath/Contents/Info" NSServices
codesign -f -s - "$apppath"
done