Tip Details Add a Related Tip

Rate as: Positive Negative

Get rid of .DS_Store files on your Mac

If you use your Mac for web development, one of the really annoying things you'll notice is that most of the directories in your project will have a file called .DS_Store in them. And you certainly don't won't to copy these files over to your server. (As an aside, these files are created by the Finder to keep track of your viewing preferences for the directory.)

To keep from transferring these files over, you can run a command at the command line of the terminal to delete all of the .DS_Store files before you copy things over. Here's the command to run:

find ./ -name ".DS_Store" -depth -exec rm {} \;

After you run this, all of the .DS_Store in the this directory and all of its subdirectories will be deleted.
Rating: 100% positive, 3 total Votes
Categories: Mac Finder files .DS_Store
Added: on Aug 03, 2009 at 7:26 am
Added By: an anonymous user
Searches: file .ds_store mac finder run

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Keep .DS_Store files from being created

Categories: Mac files OS X Finder
100% positive, 0 comments
– Tip added by an anonymous user on Aug 12, 2008 at 12:58 pm

Move, not copy, a file by dragging it

Categories: Mac Finder Desktop
100% positive, 0 comments
– Tip added by an anonymous user on Dec 23, 2007 at 11:01 am

Renaming files and folders in the Finder

Categories: Mac Finder shortcut
80% positive, 0 comments
– Tip added by an anonymous user on Oct 10, 2008 at 2:15 pm

Open finder windows from open/save dialogs

Categories: Leopard Finder shortcut Mac
100% positive, 0 comments
– Tip added by an anonymous user on Jun 04, 2008 at 3:18 pm

Show full file paths in the Finder Title

100% positive, 1 comment - last added on Oct 21, 2008 at 3:41 pm
– Tip added by hephler on Apr 17, 2008 at 1:04 pm

Quickly navigate up the directory tree in the Leopard Finder

Categories: Mac Leopard Finder shortcut
100% positive, 1 comment - last added on Aug 22, 2008 at 10:46 pm
– Tip added by an anonymous user on Nov 04, 2007 at 5:48 pm

Quickly open a stack in the Finder

Categories: Finder Dock Mac Leopard
100% positive, 0 comments
– Tip added by an anonymous user on Mar 18, 2008 at 7:46 am

Quick Look Tips

100% positive, 0 comments
– Tip added by pepsi25 on Nov 23, 2007 at 7:08 pm

Show the size columns in finder search results

50% positive, 1 comment - last added 6 days, 16 hours ago
– Tip added by an anonymous user on Oct 25, 2009 at 6:34 am

Organizing mailboxes in Snow Leopard

Categories: Mac Snow Leopard Mac
100% positive, 0 comments
– Tip added by an anonymous user on Oct 15, 2009 at 9:03 am

Default folder when opening a Finder window

Categories: Mac Finder shortcut
100% positive, 0 comments
– Tip added by an anonymous user on Aug 08, 2009 at 4:25 pm

Saving files repeatedly into a different folder

Categories: Mac shortcut Finder
100% positive, 0 comments
– Tip added by an anonymous user on Mar 13, 2009 at 2:02 pm

Finding files on the Mac

Categories: Mac files search free
50% positive, 0 comments
– Tip added by an anonymous user on Jan 06, 2009 at 11:37 am

Read-only indication in Finder

Categories: Mac Finder
100% positive, 0 comments
– Tip added by an anonymous user on Jul 29, 2008 at 11:57 am

Protecting files on the Mac

Categories: Mac security files
100% positive, 0 comments
– Tip added by an anonymous user on Jul 17, 2008 at 9:45 am

Adding searches to the Finder sidebar

100% positive, 0 comments
– Tip added by an anonymous user on Jun 27, 2008 at 9:07 am

Changing the default application

Categories: Mac Finder OS X
100% positive, 0 comments
– Tip added by an anonymous user on May 22, 2008 at 10:32 am

Using Quick Look in the Finder

100% positive, 0 comments
– Tip added by an anonymous user on Apr 18, 2008 at 8:31 am

Opening files with different applications

no ratings, 0 comments
– Tip added by an anonymous user on Mar 15, 2009 at 7:00 pm

show additional info when in the Finder icon view

Categories: Mac Finder
no ratings, 0 comments
– Tip added by an anonymous user on Jan 27, 2009 at 7:10 am