|
|
Explaining the Finder's view options and toolbar visibility
When trying the commands to set the DS_Store to writable I get a 'no terminating ";"' error although I 'm sure I typed the command exactly as shown.
You've discovered a site problem!
There is supposed to be a backslash before the semicolon at the end of each line. I think Rob helpfully deleted the backslashes, which were in my original post (surrounded by PRE tags), maybe by putting them in CODE tags. So here's the code again:
sudo find /Applications -type d -exec touch '{}/.DS_Store' \;
sudo find /Applications -name .DS_Store -exec chown yourname '{}' \;
sudo find /Applications -name .DS_Store -exec chmod 644 '{}' \;
And:
sudo find /Applications -exec /Developer/Tools/SetFile -a i '{}' \;
sudo find /Applications -name .DS_Store -delete
-- Glenn
You've discovered a site problem!
Perhaps a second backslash is needed to escape the first (if you don't see them here, well at least I tried!:
sudo find /Applications -type d -exec touch '{}/.DS_Store' \;
sudo find /Applications -name .DS_Store -exec chown yourname '{}' \;
sudo find /Applications -name .DS_Store -exec chmod 644 '{}' \;
You've discovered a site problem!
Hehe, something happened to the line feeds that time. You get the idea though. Last try:
sudo find /Applications -type d -exec touch '{}/.DS_Store' \;
It looked OK in Preview. It's a SITE BUG!
The problem is a site bug. The code looks OK when you preview it but when you post it, backslashes disappear! I'll whine to robg.
It's a site feature!
robg let me know that I'm not sure why backslashes disappear in PRE-tagged sections, since the backslash is not an HTML special character; they just do. The site also interprets HTML character entities instead of passing them through. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|