Register FAQ/Rules Forum Spy Search Today's Posts Mark Forums Read

Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate.

 
Go Back   Mac Forums > Apple Software > Mac OS X Forums > Mac OS X
TouchArcade.com - iPhone Game Reviews and News

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 15, 2009, 12:25 AM   #1
Zax
macrumors newbie
 
Join Date: Jan 2007
Bug makes files vanish!!!

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 !!!!
Zax is offline   Reply With Quote
Old Nov 15, 2009, 01:31 AM   #2
apfhex
macrumors 68030
 
apfhex's Avatar
 
Join Date: Aug 2006
Location: Northern California
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.
__________________
2006 Mac Pro: 2.66Ghz, 6GB RAM, 8800GT, 23" ACD, Snow Leopard/Windows 7
iPhone 3GS 16GB Black
apfhex is offline   Reply With Quote
Old Nov 15, 2009, 01:43 AM   #3
mac2x
macrumors 6502a
 
Join Date: Sep 2009
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.
Attached Thumbnails
Click image for larger version

Name:	Picture 3.png
Views:	0
Size:	38.4 KB
ID:	203265  
__________________
Unibody MacBook Pro, 2.4 GHz Core 2 Duo, 2 GB RAM 250 GB HD, running OS 10.5.8
Apple 24" LED Cinema Display 32 GB iPod touch
mac2x is offline   Reply With Quote

Reply

Mac Forums > Apple Software > Mac OS X Forums > Mac OS X

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 06:02 PM.

Mac News | Mac Rumors | iPhone Game Reviews | iPhone Apps

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2002-2010, MacRumors.com, LLC