Merlin’s weekly podcast with Dan Benjamin. We talk about creativity, independence, and making things you love.
Merlin’s weekly podcast with Dan Benjamin. We talk about creativity, independence, and making things you love.
”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.
batch convert rtf, doc to txt
ezichko | Jan 5 2007
hi: I was wondering if there is any utility to convert all my rtf and doc files to plain text . I found rtf2txt for the command line but dont know how to do batch conversions to the hd. thanks 5 Comments
POSTED IN:
If the above is bash...Submitted by mwr on January 6, 2007 - 10:08am.
If the above is bash code, I think that should be: for i in `mdfind -onlyin ~/Documents/foo .rtf` do textutil -convert txt $i done for i in `mdfind -onlyin ~/Documents/foo .doc` do textutil -convert txt $i done (backquotes instead of apostrophes, and $i inside the do loop) You might also need to replace $i with "$i" if you have filenames with spaces in them. » POSTED IN:
|
|
EXPLORE 43Folders | THE GOOD STUFF |