Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > deleting .ds_store from inside application files

deleting .ds_store from inside application files
Thread Tools
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Jan 13, 2005, 08:26 PM
 
i went inside an app file to edit it. Safari. and now theres a .ds_store in there. how do i get ride of this file? all the ds deleters dont delete the ds store from inside the application
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 13, 2005, 09:05 PM
 
Not that it matters, but
Code:
rm .DS_Store
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
jay3ld  (op)
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Jan 14, 2005, 01:27 PM
 
what that do and were do i type it?
     
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status: Offline
Reply With Quote
Jan 14, 2005, 02:31 PM
 
rm is a UNIX command.

In the Terminal, navigate to the directory that contains the .DS_Store file you wish to delete and type the rm command. rm means remove. Be careful, once it's gone, it's gone.

If you don't know how to do the above, then get the book UNIX for Mac Users (or something like that).

I was going to be snarky and tell you to stay out of .app files, but that's a good way to learn how the system works. So I will say "Make backups!" instead.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jan 14, 2005, 03:12 PM
 
.DS_Store files aren't really destructive (as far as I'm aware), though, so I don't know why it's a concern.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Senior User
Join Date: Nov 2001
Location: State of Denial
Status: Offline
Reply With Quote
Jan 15, 2005, 11:24 PM
 
You don't need .DS_Store files in your apps at all; they're just (IIRC) for Finder window settings and the like.

You can also try:

Code:
find /path/to/app -name .DS_Store -exec rm {} \;
which will delete all .DS_Store files in the application bundle (make sure you don't mistype, though, just in case).
[Wevah setPostCount:[Wevah postCount] + 1];
     
jay3ld  (op)
Senior User
Join Date: Jul 2004
Status: Offline
Reply With Quote
Jan 16, 2005, 11:47 PM
 
thanks that way worked
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:05 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2