user3016511
user3016511

Reputation: 1

conversion from rtf to docx from the commandline on a Mac in Python

Does anyone know of a Python script to convert rtf to docx on a Mac?

Textutil does not properly process headers and footers, so that is not an option. I need a commandline utility because I have a large number of files in different locations to process. The textutil interface is fine... it is just mind-boggling that it doesn't handle the header (which contains important information in my documents).

A Python script is preferable.

-Joe

Upvotes: 0

Views: 1361

Answers (1)

VBB
VBB

Reputation: 1325

I don't know the exact answer to your question, but can suggest another way of doing it: Since you are doing this on OSX, why not use the built-in automator? For an example, look at http://aseriesoftubes.com/articles/how-to-batch-convert-doc-files-to-pdf-format-using-mac-osx-automator/ or https://discussions.apple.com/thread/3050596?tstart=0

Upvotes: 1

Related Questions