plutil

<pre>
PLUTIL(1) BSD General Commands Manual PLUTIL(1)

NAME
plutil -- property list utility

SYNOPSIS
plutil [command_option] [other_options] file
...

DESCRIPTION
plutil can be used to check the syntax of property list files, or convert
a plist file from one format to another. Specifying - as an input file
reads from stdin.

 The first argument indicates the operation to perform, one of:

 -help         Show the usage information for the command and exit.

 -p            Print the property list in a human-readable fashion. The
               output format is not stable and not designed for machine
               parsing. The purpose of this command is to be able to eas-
               ily read the contents of a plist file, no matter what for-
               mat it is in.

 -lint         Check the named property list files for syntax errors.
               This is the default command option if none is specified.

 -convert fmt  Convert the named file to the indicated format and write
               back to the file system.  If the file can't be loaded due
               to invalid syntax, the operation fails.

               fmt is one of:  xml1, for version 1 of the XML plist format
                               binary1, for version 1 of the binary plist
                               format json, for the JSON format

 There are a few additional options:

 --            Specifies that all further arguments are file names

 -s            Don't print anything on success.

 -r            For JSON, add whitespace and indentation to make the output
               more human-readable.

 -o path       Specify an alternate path name for the result of the -con-
               vert operation; this option is only useful with a single
               file to be converted.  Specifying - as the path outputs to
               stdout.

 -e extension  Specify an alternate extension for converted files, and the
               output file names are otherwise the same.

DIAGNOSTICS
The plutil command exits 0 on success, and 1 on failure.

SEE ALSO
plist(5)

STANDARDS
The plutil command obeys no one's rules but its own.

HISTORY
The plutil command first appeared in Mac OS X 10.2.

Mac OS X August 30, 2002 Mac OS X
</pre>

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末叁扫,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌须喂,老刑警劉巖,帶你破解...
    沈念sama閱讀 221,576評論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件孤页,死亡現(xiàn)場離奇詭異蘸拔,居然都是意外死亡,警方通過查閱死者的電腦和手機(jī)今缚,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,515評論 3 399
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來低淡,“玉大人姓言,你說我怎么就攤上這事瞬项。” “怎么了何荚?”我有些...
    開封第一講書人閱讀 168,017評論 0 360
  • 文/不壞的土叔 我叫張陵囱淋,是天一觀的道長。 經(jīng)常有香客問我餐塘,道長妥衣,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 59,626評論 1 296
  • 正文 為了忘掉前任戒傻,我火速辦了婚禮税手,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘需纳。我一直安慰自己芦倒,他們只是感情好,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,625評論 6 397
  • 文/花漫 我一把揭開白布不翩。 她就那樣靜靜地躺著兵扬,像睡著了一般。 火紅的嫁衣襯著肌膚如雪口蝠。 梳的紋絲不亂的頭發(fā)上器钟,一...
    開封第一講書人閱讀 52,255評論 1 308
  • 那天,我揣著相機(jī)與錄音妙蔗,去河邊找鬼傲霸。 笑死,一個(gè)胖子當(dāng)著我的面吹牛灭必,可吹牛的內(nèi)容都是我干的狞谱。 我是一名探鬼主播,決...
    沈念sama閱讀 40,825評論 3 421
  • 文/蒼蘭香墨 我猛地睜開眼禁漓,長吁一口氣:“原來是場噩夢啊……” “哼跟衅!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起播歼,我...
    開封第一講書人閱讀 39,729評論 0 276
  • 序言:老撾萬榮一對情侶失蹤伶跷,失蹤者是張志新(化名)和其女友劉穎,沒想到半個(gè)月后秘狞,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體叭莫,經(jīng)...
    沈念sama閱讀 46,271評論 1 320
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,363評論 3 340
  • 正文 我和宋清朗相戀三年烁试,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了雇初。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 40,498評論 1 352
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡减响,死狀恐怖靖诗,靈堂內(nèi)的尸體忽然破棺而出郭怪,到底是詐尸還是另有隱情,我是刑警寧澤刊橘,帶...
    沈念sama閱讀 36,183評論 5 350
  • 正文 年R本政府宣布鄙才,位于F島的核電站,受9級(jí)特大地震影響促绵,放射性物質(zhì)發(fā)生泄漏攒庵。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,867評論 3 333
  • 文/蒙蒙 一败晴、第九天 我趴在偏房一處隱蔽的房頂上張望浓冒。 院中可真熱鬧,春花似錦尖坤、人聲如沸裆蒸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 32,338評論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至佛致,卻和暖如春贮缕,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背俺榆。 一陣腳步聲響...
    開封第一講書人閱讀 33,458評論 1 272
  • 我被黑心中介騙來泰國打工感昼, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人罐脊。 一個(gè)月前我還...
    沈念sama閱讀 48,906評論 3 376
  • 正文 我出身青樓定嗓,卻偏偏與公主長得像,于是被迫代替她去往敵國和親萍桌。 傳聞我的和親對象是個(gè)殘疾皇子宵溅,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,507評論 2 359

推薦閱讀更多精彩內(nèi)容