Having recently convinced my wife that she needed to make the switch to Mac OS X I was horrified to find that the Mac would not open WMF files. Over the years I have accumulated a large collection of clip art files in the WMF (Windows Metafile) file format and didn’t really want to start again.
I found the quickest way to resolve this was to convert all of my existing WMF file into the PICT file format. Using one of my Linux servers I ran the following shell command against my picture library:
find /home/user/clipart/ *.WMF -print0 | while IFS= read -rd $'\0' f;
do echo "[$f]";
convert "$f" "$f.pict";
rm -f "$f";
done
This creates a list of files who’s file-name ends with WMF. We then loop through each of these file-names converting each and saving it with a .pict file extension. The IFS= read -rd parameters are absolutely necessary should your WMF files contain spaces.
phil Linux, Mac, Microsoft PICT, WMF
1. Insert the CD or DVD you would like to create an ISO image from
2. In a Terminal window execute the drutil status command in order to determine the device path to your CD/DVD drive. For example:
$ drutil status
Vendor Product Rev
OPTIARC DVD RW AD-5630A 1AHM
Type: DVD-RW Name: /dev/disk1
Sessions: 1 Tracks: 1
Write Speeds: 1x, 2x
Overwritable: 510:38:38 blocks: 2297888 / 4.71GB / 4.38GiB
Space Free: 00:00:00 blocks: 0 / 0.00MB / 0.00MiB
Space Used: 68:00:64 blocks: 306064 / 626.82MB / 597.78MiB
Writability: erasable, overwritable
Book Type: DVD-RW (v2)
Media ID: CMCW02
3. Assuming your Mac automatically mounts the disc and puts an icon on the desktop, you will need to unmount the disk before we proceed. To to this run the following command again the terminal window:
$ diskutil unmountDisk /dev/disk1
Unmount of all volumes on disk1 was successful
4. Now to create your ISO file simply use the following command substituting the value of your disk device path and the filename you want to use for your ISO file.:
$ dd if=/dev/disk1 of=file.iso bs=20485
phil Mac