Bulk Convert .doc to .rtf in Apple’s macOS or OS X Finder

At work I am archiving a large, very old collection of Microsoft Word documents. Some of the files are actually even older WordPerfect files that I converted to .doc files several years ago.

Yes, .doc is practically a standard, but I have come across several situations where these files get corrupted as they get moved from storage drive to server to other server. I find .rtf files to be much more resilient while also being an actual standard (or at least an open format that anything can read and write).

Reasons aside, I wanted a bulk script or tool for converting lots of .doc files to .rtf files. I couldn’t find what I was looking for* so I created my own solution: a macOS/OS X Services workflow that gives the Finder the power to convert any selected .doc files into .rtf files.

It looks like this in Automator:

Screen Shot 2016-06-27 at 7.21.44 PM

Here’s how to install this Convert .doc to .rtf workflow:

  1. In the Finder navigate to /Users/yourname/Library/Services/
    [if “Services” doesn’t exist, create a new folder and name it likewise]
  2. Download the Convert-DOC-to-RTF.zip, extract the contents onto your desktop (double-click in OSX)  and copy the file “Convert .doc to .rtf.workflow” to the previously mentioned “Services” folder.
  3. Open a Finder window with multiple files. Select all of the files. Right-click on the selected files. At the bottom of the contextual menu you will find an option titled “Convert .doc to .rtf”. (It may take a minute or two for this new option to become available on your contextual menu.)

This Looks Familiar

This solution and Services workflow is very similar to my Bulk File Rename workflow, which is now redundant because Apple finally used their previously unused features to provide a built-in bulk file rename functionality in Finder on versions of macOS/OS X 10.10 or newer.

*Though I didn’t find the complete solution to my needs, I did find the pieces of what I was looking for.

Mac Issues has a post about the OS X Terminal and the amazing commandline utility textutil that makes all of the above possible. How Apple manages to create amazing and powerful scripts and Automator features without using them to make macOS/OS X more amazing and powerful out of the box is baffling.

For Mac Eyes Only has a post about writing an Automator script to convert .docx files to .doc files. This gave me the missing “$@” variable that I needed to make my slightly different workflow actually work.

Add Bulk File Renaming to Apple’s OSX Finder.app

Today at work I was asked how to rename multiple JPEG files on a Mac. This individual was apparently able to accomplish this amazing feet with very little effort on a Windows system. (Every time I hear someone say how easy Windows makes something my stomach turns.) I used to have an AppleScript that did just that, but I have since lost track of that file. So I looked to the internet. Surely it’ll only take a few minutes to make this happen, right?

There is one free application available for renaming files (NameChanger) and there are several tutorials about using AppleScript and/or Automator.app. The DIY script and Automator options are okay for certain types of people, but the people that really need help will struggle to understand how to use these tools. What are all of the non-geek OSX users supposed to do?

Well, here’s another one of my small contributions to society. A free Automator.app-created workflow that will add the option ‘Rename Multiple Files’ to the contextual menu in Finder.app. Just select multiple files, right-click and select ‘Rename Multiple Files’ and away you go!

Here’s how to install this Rename Multiple Files tool:

  1. In the Finder navigate to /Users/yourname/Library/Services/
    [if “Services” doesn’t exist, create a new folder and name it likewise]
  2. Download the RenameMultipleFiles.zip, extract the contents onto your desktop (double-click in OSX)  and copy the file “Rename Multiple Files.workflow” to the previously mentioned “Services” folder.
  3. Open a Finder window with multiple files. Select all of the files. Right-click on the selected files. At the bottom of the contextual menu you will find an option titled “Rename Multiple Files”. (It may take a minute or two for this new option to become available on your contextual menu.)

Shortly after you click on “Rename Multiple Files” you will be presented with a small window and several options. To save a verbose explanation I have included screenshots of the options below.

This workflow was created on a Mac running OSX 10.6. It is dependent on Automator.app. It definitely works with other 10.6 machines, but if you are running some other version of OSX it may or may not work.

Please give me feedback about whether or not this is useful or if it doesn’t work at all. Thanks.