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

Click here to return to the '10.5: Repair a user/group Finder crashing issue' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Repair a user/group Finder crashing issue
Authored by: johnsawyercjs on Jan 23, '08 07:16:10PM

Attempts to compile the original post's script, using Script Editor, results in this when it hits the 'whoami' in one of the first lines:

if [ 'whoami' == "root" ]; then

Syntax error
"Expected expression, etc. but found unknown token"

Any solutions?

[ Reply to This | # ]
Not AppleScript
Authored by: thinkyhead on Jul 29, '11 02:51:31PM

Script Editor is for AppleScripts, not BASH scripts. This script is meant to be run in Terminal.

| slur was here

[ Reply to This | # ]