将Apple.plist文件从XML/binary转换为

【将Apple.plist文件从XML/binary转换为】白日放歌须纵酒,青春作伴好还乡。这篇文章主要讲述将Apple.plist文件从XML/binary转换为相关的知识,希望能为你提供帮助。
A pair of handy terminal commands for converting Apple .plist preference files from binary to XML format [allowing for easy editing with a text editor] and then back to binary again, afterwards.

  1. # Let's use the Finder's prefs file as an example
  2.  
  3. # Convert it to XML format
  4. plutil -convert xml1 ~/Library/Preferences/com.apple.finder.plist
  5.  
  6.  
  7. # After editing, convert it back
  8. plutil -convert binary1 ~/Library/Preferences/com.apple.finder.plist
  9.  
  10. # Restart the Finder
  11. killall Finder


    推荐阅读