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

Avoid creation of those pesky ._ and .ds_store files System
At work my (PC-challenged) colleagues always "love" when I browse the network with my Mac, leaving a breadcrumb trail of resource fork files and .ds_store files behind me. To me they are invisible, to them -- not so much.

They thus commanded me to remove them, which is not exactly something I'd consider fun. I know, you can turn off the generation of the latter in the Terminal, but that doesn't help with the resource forks, and it doesn't work for USB sticks. (Ever had a 128px thumbnail developed to 13x18cm? I have. Let me tell you, it doesn't look pretty.)

Enter the donationware System Preferences pane BlueHarvest. It allows you to turn the generation of those files off, either by volume/folder, or by file type. (It does a few other tricks, too.) I haven't had the chance to test it extensively yet, but so far, it has been working as advertised.

If ._ and .ds_store files have made office a lonely place for you, you might as well give the app a try and maybe, just maybe, your colleagues will start talking to you again!

[robg adds: This is a popular subject around here ... but this is the first I've heard of an app that can work on multiple types of files and volumes, so I thought it worth posting...]
    •    
  • Currently 3.00 / 5
  You rated: 5 / 5 (8 votes cast)
 
[45,702 views]  

Avoid creation of those pesky ._ and .ds_store files | 19 comments | Create New Account
Click here to return to the 'Avoid creation of those pesky ._ and .ds_store files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Avoid creation of those pesky ._ and .ds_store files
Authored by: ck on Nov 30, '05 08:11:57AM
There's still one target not covered: Trash folders on memory cards / sticks. It's a plague that MacOS X creates them on usb sticks, memory cards of phones and cameras and so on. A possible solution can be found here: http://blogs.23.nu/c0re/stories/10057/

[ Reply to This | # ]
Trash folder on digicam
Authored by: lullabud on Nov 30, '05 09:04:26AM
I was importing a TON of pix from my digital camera and I didn't want to do the old "Impmort and delete" just in case iPhoto crashed during importing. Instead, I just waited until the import was finished, then deleted the images through the finder, and forgot to empty the trash... I went back out to take photos and could only fit about 20 pictures on my cam and had no idea why.

It definitely would be nice to be able to disable trash on a per-volume basis...

[ Reply to This | # ]
Trash folder on digicam
Authored by: TvE on Dec 01, '05 06:37:52AM

Nothin gnew under the sun:
This has been standard System 6-7-8-9 Mac OS X 10.0-10.1-10.2-10.3-10.4 etc. behaviour regarding disk/floppy/media-handling of trashed files. It probably also was like the pre System 6, but that I can't rememberů



[ Reply to This | # ]
use this hint:
Authored by: nick on Nov 30, '05 10:42:19AM

http://www.macosxhints.com/article.php?story=20040121161137177



[ Reply to This | # ]
Nice stuff.
Authored by: zedwards on Nov 30, '05 09:34:42AM

This is a godsend. I installed it and my only issue is that there should be some default settings that include more...I may have several computers to install this on and its kinda a pain to add each document resourse fork setting. Now i don't have to be so nervouse about using FinderCleaner.



[ Reply to This | # ]
Best Solution Yet
Authored by: simbalala on Nov 30, '05 09:43:10AM

I've got a couple server accounts which support WebDAV which means I can mount those as disks directly in the Finder like any other disk, it's very convenient. Even for editing with BBEdit there's an advantage to using this technique although BBEdit allows "editing" via ftp or sftp. When you edit with ftp the modified date and time is sometimes confusing because of the temp file which BBEdit saves as you work. With WebDAV the date and time remain understandable. It's also sometimes very convenient to just pop open a remote file with TextEdit.

Anyways...

I've implemented the Terminal based fixes I've found here to stop the creation of the .ds_store files but I always seemed to lose the "feature" after a while for one reason or another. ONYX could not stop them either.

Blue Harvest did not seem to stop them at first either but then I added the mounted disk as a folder within the DS_Stores tab and it works just fine.

Probably the best thing is the prevention of those pesky little ._whatever.xxx files, no more hunting them down, they're like weeds. I added all the common extensions which I use to the Resources tab.

I've already sent Ross a donation, it's worth it.



[ Reply to This | # ]
Avoid creation of those pesky ._ and .ds_store files
Authored by: bvdecicco on Nov 30, '05 09:49:38AM

Hallelujah! Now my Windows buddies will stop giving me crap! I applied to all of our web servers and it worked just as described!



[ Reply to This | # ]
Avoid creation of those pesky ._ and .ds_store files
Authored by: billbarstad on Nov 30, '05 10:44:12AM

I have a small disk partition to store files and folders of materials for a friend who uses Windows. After installing BlueHarvest on my Panther (10.3.9) system I dropped in on the arrow, as instructed in the Cleaner tab. It found six .DS_store files, but failed to remove them. Phooey!



[ Reply to This | # ]
Avoid creation of those pesky ._ and .ds_store files
Authored by: hamarkus on Nov 30, '05 03:06:43PM

Same for me. Finds a lot .DS_store files but fails to delete them. Also does not delete any resource forks.

I cannot create a .Trash folder the SMB share in question, as it it tells me every time I am deleting a file it tells me that the file will be deleted immediatly.
Maybe that is why it does not work?



[ Reply to This | # ]
Avoid creation of those pesky ._ and .ds_store files
Authored by: jdb8167 on Nov 30, '05 02:29:14PM

And Rob you were wondering over on MacCentral why Apple didn't enable storing of Spotlight index files on the server by default :) If people complain about 2k files what are they going to think of 100 MB ones?



[ Reply to This | # ]
Avoid creation of those pesky ._ and .ds_store files
Authored by: pecosbill on Dec 01, '05 09:32:20PM
2k files, that I might add, ARE MARKED AS HIDDEN!

---
Pecos Bill

[ Reply to This | # ]

Avoid creation of those pesky ._ and .ds_store files
Authored by: rosstulloch on Nov 30, '05 02:51:08PM

billbarstad,

The problem you had is (hopefully) fixed in the new version, 0.7.2. You can download it using the link in the article above.

Ross.



[ Reply to This | # ]
"You can download it using the link..."
Authored by: simbalala on Nov 30, '05 03:05:47PM

Not yet.

You'll need to update the link. It's still the 11/20 version.



[ Reply to This | # ]
"You can download it using the link..."
Authored by: simbalala on Nov 30, '05 04:37:33PM

The download link has been updated as of about 7:00 PM EST U.S. ( 01 Dec. 05)

I emailed Ross.

So if you tried earlier try again.



[ Reply to This | # ]
"You can download it using the link..."
Authored by: simbalala on Nov 30, '05 04:42:13PM

err...

Make that 11 Nov. 05. I'm getting a little ahead of myself.



[ Reply to This | # ]
BlueHarvest's Cleaner
Authored by: beccles on Nov 30, '05 07:46:21PM

It seems that a disk has to appear on the desktop to allow dragging to the 'Cleaner' tab. I only have disks shown in the Finder Sidebar and they can't be dragged onto the Cleaner (result is, of course, removal from the Sidebar). Use Finder->Preferences->General to have disks appear/disappear from the desktop.



[ Reply to This | # ]
Finder selection of volumes
Authored by: magir on Dec 01, '05 12:20:49AM

When you've selected the disk from the sidebar you can drag teh "proxy icon" to the cleaner section. The proxy is the icon to the left of the name of the volume in the title bar of the window - this item is "draggable".



[ Reply to This | # ]
Finder selection of volumes
Authored by: bluehz on Dec 01, '05 03:40:49AM

I am unable to drag the "proxy icon" to the cleaner section. It refuses to accept it.



[ Reply to This | # ]
Finder selection of volumes
Authored by: hamarkus on Dec 01, '05 04:19:07AM

Works for me. You have to open the folder you have in the sidebar and then in the window displaying the contents of that folder drag the small icon left to the title(name) of the window to the prefpane. In the prefpane you have to drag it onto the harddrive symbol itself.



[ Reply to This | # ]