Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Zax

macrumors newbie
Original poster
Jan 10, 2007
18
9
Here is a bug in Leopard that made me loose some important files. I tested this in different Macs:
I had many text files in the .rtf and the .rtfd format. They were sorted by type inside a folder and I wanted to group them together. To group these text files together, I manually changed the .rtf extensions to .rtfd. Then, I opened these files using TextEdit and dragged an image inside each of the .rtfd text files. and tried to Save only (not with a new name).
Here is a step by step:

1- Open TextEdit and save a .rtf file
2- Manually change the extension to .rtfd
3- Open the .rtfd file and drag an image inside the text.
4- Try saving it. TextEdit will ask if you want to just Save it or Save with a new name. Click "Save" only.
5- Voila!!! Your file vanished forever !!!!
 
Tested this, the file does appear to vanish entirely (can't find it looking in Terminal either), but keep in mind that RTF files can't just be made into RTFD by changing the extension; they are actually bundles — like .app bundles — that contain the RTF and other types of media that you've put in the document. RTFD actually stands for Rich Text Format Directory.
 
This is most likely due to the difference between .rtf and .rtfd. FWIW, TextEdit did delete the original .rtf modified to .rtfd as it did for you, but when I went to save it again, it offered to allow a save as again.
 

Attachments

  • Picture 3.png
    Picture 3.png
    38.4 KB · Views: 63
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.