Monday, August 22, 2011

Dot_clean

Here's something positive for a change. I use Dropbox to share a handful files among computers, and one thing that's annoyed me is the slew of "dot" files that get somehow get created. You know the ones I'm talking about, the zero K clones of every single file you've ever put in your Dropbox. Well, I just learned a quick little command-line tool that gets rid of them... all of them! Here it is:

dot_clean

In other words, to clean out the "dot" files in my Dropbox, I hit dot_clean ~/Dropbox/. I even set up a "Cron" tab with Cronnix to clean them out every day, but of course it does absolutely nothing for some reason. I have to enter the command manually in Terminal every time I want to clean out my Dropbox.

Sometimes it just feels good to find a solution to a problem, but then again, maybe this problem shouldn't exist to begin with. That's when you type the following command into Terminal and restart:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

I'm still not entirely sure what purpose these "dot" files serve.