Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automatically delete Mac OS X dot files from MS-DOS filesystems' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically delete Mac OS X dot files from MS-DOS filesystems
Authored by: fireflux on Feb 15, '11 08:54:51AM

I asked a friend of mine to print a pdf file for me on his mac and gave him my usb stick. He printed the file and returned the stick immediately. Later on I noticed that my home folder that I keep on that stick misses lots of important files like .bashrc .vimrc and so on. He appeared to be an "advanced" mac user as you are.



[ Reply to This | # ]
Automatically delete Mac OS X dot files from MS-DOS filesystems
Authored by: lsloan on Feb 15, '11 12:40:10PM

Yes, I'm aware that could happen. That's why I wrote in the hint:

This may be obvious, but if you intentionally copy dot files (like your .bashrc file) to your MS-DOS filesystem, they will be deleted when you eject the filesystem. A couple possible ways to prevent this would be to put your dot files into a ZIP file or change this script to be more specific about which files it deletes.

If your friend had used this hint and that led to the loss of your files, then you have my sincere apologies. I've never heard of somebody keeping their home directory on a flash drive, but anything's possible.

If it's any consolation, I've changed the copy of the script I used to be safer. It only deletes certain specific dot files that Mac OS X creates, not just any dot file as the one in this hint does. When I get some time, I'll clean that script up and ask crarko to put the new script in place of the old one.

---
Lance E Sloan


[ Reply to This | # ]