Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,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 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[28,837 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 whomever posted them. This site is not responsible for what they say.
Avoid creation of those pesky ._ and .ds_store files
Authored by: ck on Wed, Nov 30 2005 at 8:11AM PST
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 Wed, Nov 30 2005 at 9:04AM PST
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 Thu, Dec 1 2005 at 6:37AM PST
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 Wed, Nov 30 2005 at 10:42AM PST
http://www.macosxhints.com/article.php?story=20040121161137177

[ Reply to This | # ]
Nice stuff.
Authored by: zedwards on Wed, Nov 30 2005 at 9:34AM PST
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 Wed, Nov 30 2005 at 9:43AM PST
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 Wed, Nov 30 2005 at 9:49AM PST
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 Wed, Nov 30 2005 at 10:44AM PST
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 Wed, Nov 30 2005 at 3:06PM PST
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 Wed, Nov 30 2005 at 2:29PM PST
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 Thu, Dec 1 2005 at 9:32PM PST
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 Wed, Nov 30 2005 at 2:51PM PST
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 Wed, Nov 30 2005 at 3:05PM PST
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 Wed, Nov 30 2005 at 4:37PM PST
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 Wed, Nov 30 2005 at 4:42PM PST
err...

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

[ Reply to This | # ]
BlueHarvest's Cleaner
Authored by: beccles on Wed, Nov 30 2005 at 7:46PM PST
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 Thu, Dec 1 2005 at 12:20AM PST
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 Thu, Dec 1 2005 at 3:40AM PST
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 Thu, Dec 1 2005 at 4:19AM PST
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 | # ]