textutil does not respect -font or -fontsize parameters

Hello.


I'm having a problem with text files with small text being exported from an application and some scripts that I use. Since the number of files is large and I often use the script, I don't want to change the font size by hand in each file, so I looked up textutil, and tried the following in Terminal:


textutil -cat rtf -font Avenir -fontsize 16 -output combined.rtf *.rtf

A file combined.rtf with the contents of all the original files concatenated was duly created, but the font was Times and the size was 12. I tried again with different fonts and different sizes, but everything resulted in Times 12.

Am I using these parameters incorrectly? Is there any way to increase the font size using textutil or something else?

Thanks for any help.

OS X 10.10.4

MacBook Air (11-inch, Early 2014)

MacBook, Mac OS X (10.5.8)

Posted on Jul 3, 2015 4:08 AM

Reply
2 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

textutil does not respect -font or -fontsize parameters

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.