|
|
Temp File Unnecessary
Good hint. A nice starting point for a mode... only thing needed is a re-convert to binary for the save function. That said, my addition: No need for the /tmp/temp.plist file. Change the "format" command to read like so:
There you have it. -Pie ---
reconverting (was: Temp File Unnecessary)
Eating Pie wrote:
reconverting (was: Temp File Unnecessary)
That does not always seem to be the case. My sequence:
reconverting (was: Temp File Unnecessary)
klktrk writes:
reconverting (was: Temp File Unnecessary)
There is no need to convert back to binary, it is an identical representation of the XML. Personally, I would like to change the preference so that ALL plists are back in XML like they were pre-Tiger.
That doesn't work
It seems to work, but you get a "/dev/stdout: Operation not supported" at the end of the file... notice the comment :-)
Crap!
Tested my change, and didn't see that.
YES! It DOES WORK... Now!
Take my original...
And after the close of the "when" statement, add:
Like I said, the temp file is not necessary! :)
---
Temp File Unnecessary -- summary
a great tip! as a summary of the other suggestions, and extra code to resave in binary foramt where appropriate: (note 'write-file advise is commented out as an easy way to save as xml instead.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks 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 |
|