标签:
textutil进行文件转换支持的格式有:
同时,pdf是默认支持转为
textutil -convert doc /path/to/my/file.docx
xxxxxxxxxx
textutil -convert doc /path/to/location/*.docx
xxxxxxxxxx
textutil -convert docx xx.pdf -output xx.docx
?xtextutil -info foo.rtf
?
displays information about foo.rtf.
?
textutil -convert html foo.rtfconverts foo.rtf into foo.html.
?
textutil -convert rtf -font Times -fontsize 10 foo.txtconverts foo.txt into foo.rtf, using Times 10 for the font.
?
textutil -cat html -title "Several Files" -output index.html ?.rtf
?
loads all RTF files in the current directory, concatenates their contents, and writes the result out as index.html
?
with the HTML title set to "Several Files".
man textutil
man textutil -t | open -fa Preview
标签:
原文地址:http://www.cnblogs.com/xilifeng/p/4692898.html