Go Back   The macosxhints Forums > OS X Help Requests > UNIX - Newcomers



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-10-2002, 03:52 PM   #1
CokeBear
Prospect
 
Join Date: Jan 2002
Posts: 3
DS_Store

What information is stored in .DS_Store files?

What would be the command in the Terminal to delete all the .DS_Store files on my hard drive.

Is it safe to do so?
CokeBear is offline   Reply With Quote
Old 04-10-2002, 04:09 PM   #2
mervTormel
League Commissioner
 
Join Date: Jan 2002
Posts: 5,536
evidently, that file stores finder window preferences like view as ..., toolbar focus, etc.

% find / -name .DS_Store -exec rm -i {} \;

the -i switch will ask "remove /pathTo/.DS_Store? " for each file it finds.

this will gak at directories which you don't have permission to process. sudo find will get you into those directories.

safe? fairly. unless your database is named thusly.
mervTormel is offline   Reply With Quote
Old 04-20-2002, 12:43 PM   #3
CokeBear
Prospect
 
Join Date: Jan 2002
Posts: 3
Thumbs up It works!

You'll be happy to know, I tried it, and it appears to have worked.
All those pesky invisible .DS_Store files on my hard drive are gone, and after several days of continuous use, no ill effects that I can detect.
CokeBear is offline   Reply With Quote
Old 10-21-2006, 12:34 AM   #4
ohnonothimagain
Registered User
 
Join Date: Oct 2006
Posts: 1
Check out this link
http://mac.softpedia.com/get/System-...-Remover.shtml
an app that will remove .DS_Store files painlessly
ohnonothimagain is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting 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

Forum Jump



All times are GMT -5. The time now is 04:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.