Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
macosx: textutil convert to another format
#!/bin/sh
# ===========================================
# = textutil convert text to another format =
# ===========================================
# syntax
# textutil -convert fmt filename
# for example
textutil -convert doc filename.rtf
# Batch covert script
for i in *.rtf; do textutil -convert doc "$i";done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment