Quantcast

Forums | MacLife

You are not logged in.

#1 2005-01-18 10:43 am

bystander85
Member
From: CT, USA
Registered: 2004-06-07
Posts: 111

Hidden "dot" files on desktop.

I noticed, in one of my applications, in the Open box, when I'm searching for a file, I notice my desktop has various dot files, such as:

.$$ Stuffit Temp
.BAHtemp
.DS_Store
.localized

How do I get rid of these files?  What exactly are dot files?  I can deduce what the Stuffit Temp is, but i'm not quite sure about DS_Store and localized.  Are any of these essential/supposed to be there?  Any information will be greatly appreciated.  Thanks in advance.

Offline

 

#2 2005-01-18 12:37 pm

Fracai
Evacipate
From: St. Elsewhere
Registered: 2000-05-25
Posts: 2835

Re: Hidden "dot" files on desktop.

.DS_Store contains info about folder contents.  position, size, view type, icon position, stuff like that
.localized seems to imply that it holds info about language localization.  i've never seen anything specific about it
.BAHtemp i've never heard of

dotted files are invisible unix files
Mac OS X being based on unix allows it as an alternative block to visibility


   i am jack's amusing sig file
        http://alum.wpi.edu/~arno/i/s.png
Satellite Lot :: Second Summer

Offline

 

#3 2005-01-18 12:38 pm

Fracai
Evacipate
From: St. Elsewhere
Registered: 2000-05-25
Posts: 2835

Re: Hidden "dot" files on desktop.

you can either turn on "Show invisible files in the Finder" under Finder prefs or use the terminal to delete them


   i am jack's amusing sig file
        http://alum.wpi.edu/~arno/i/s.png
Satellite Lot :: Second Summer

Offline

 

#4 2005-01-18 12:42 pm

caol
Member
From: Ottawa, ON, Canada
Registered: 2003-02-02
Posts: 328

Re: Hidden "dot" files on desktop.

UNIX uses a dot in front of a file name in order to hide the file from normal operations.  The two 'temp' files, .$$ StuffIt Temp and .BAHtemp belong to applications and the .DS_Store and .localized files belong to the OS.

If you use the Terminal, you can use the command 'ls -a' to see all the files, including those hidden with a dot, in any directory.  If you execute this command in your home directory, you'll see that there a lot of hidden files and directories, most of these are concerned with your specific settings for UNIX type applications (Terminal setup, X11 options, Java etc. etc.) and the operating system.  (I've got a heap of them for stuff I've installed from Fink)

Rarely do they take up a lot of space and the .DS_Store files are ubiquitous, you'll find one in every directory. I believe that they're a part of Finder operations.

By and large I'd just leave them alone and let their parent applications take care of them.


To teach superstitions as truth is a most terrible thing.
            - Hypatia of Alexandria

Offline

 

#5 2005-01-18 12:55 pm

bystander85
Member
From: CT, USA
Registered: 2004-06-07
Posts: 111

Re: Hidden "dot" files on desktop.

What is the delete command?

Offline

 

#6 2005-01-18 1:03 pm

Fracai
Evacipate
From: St. Elsewhere
Registered: 2000-05-25
Posts: 2835

Re: Hidden "dot" files on desktop.

rm <file>
rm -r <folder>

be careful smile


   i am jack's amusing sig file
        http://alum.wpi.edu/~arno/i/s.png
Satellite Lot :: Second Summer

Offline

 

#7 2005-01-18 1:15 pm

bystander85
Member
From: CT, USA
Registered: 2004-06-07
Posts: 111

Re: Hidden "dot" files on desktop.

Well, I'm deleting the Stuffit Temps...a while back there was an error extracting the rar the mp3 was in and I think the files are resultant of this complication (it shows the mp3 name inside the . temp directory).

Offline

 

#8 2005-01-18 1:45 pm

bystander85
Member
From: CT, USA
Registered: 2004-06-07
Posts: 111

Re: Hidden "dot" files on desktop.

Hmmm...?


rm -r ".$$ StuffIt Temp 1102466217"
rm: .6003 StuffIt Temp 1102466217: No such file or directory

Offline

 

#9 2005-01-18 2:11 pm

obtuse
Member
From: Sitting on 10,000 posts.
Registered: 2004-12-06
Posts: 1693
Website

Re: Hidden "dot" files on desktop.

Hmmm...?


rm -r ".$$ StuffIt Temp 1102466217"
rm: .6003 StuffIt Temp 1102466217: No such file or directory

its likely not understanding the spaces.  First, there shouldn't be quotes around the file name.  Second, the terminal doesn't understand the spaces in the file name.  To fix this, start typing .$$ then hit tab and that should autocomplete the file name


The Forum Troll Sees Own Stupidity and Raises

Offline

 

#10 2005-01-18 3:05 pm

Fracai
Evacipate
From: St. Elsewhere
Registered: 2000-05-25
Posts: 2835

Re: Hidden "dot" files on desktop.

that's what the quotes are for.  to fix the spaces issue.

but you're right, tabbing is a better way.  or type the rm command and then drag the file into the terminal window


   i am jack's amusing sig file
        http://alum.wpi.edu/~arno/i/s.png
Satellite Lot :: Second Summer

Offline

 

#11 2005-01-18 7:45 pm

obtuse
Member
From: Sitting on 10,000 posts.
Registered: 2004-12-06
Posts: 1693
Website

Re: Hidden "dot" files on desktop.

that's what the quotes are for.  to fix the spaces issue.

but you're right, tabbing is a better way.  or type the rm command and then drag the file into the terminal window

Quotes fix that issue?  Neat.  yet that makes things too simple.  I demand that the terminal be as arcane as possible.


The Forum Troll Sees Own Stupidity and Raises

Offline

 

#12 2005-01-19 7:26 am

Jasoco
Your own personal Jesus
From: Doylestown, PA, USA, Earth
Registered: 2000-08-26
Posts: 8848
Website

Re: Hidden "dot" files on desktop.

Curious what the BAH is from.. BAH is probably the initials of the app. Can you think of an app that has them?


                         Haikus are easy
          But sometimes they don't make sense
                           Refrigerator

                Jasoco.netGeekPub Forums

Offline

 

#13 2005-02-20 3:55 am

beorn
Member
Registered: 2005-02-20
Posts: 1

Re: Hidden "dot" files on desktop.

The above doesn't work because $$ is a special variable name that gets expanded to the shell's process id (PID); note the number instead of $$ in the error message.  Using TAB for completion is good because it adds the necessary quotes.  You can use \$\$ to quote the $$, or you can enclose the whole file name in single quotes (apostrophe).  Variable name expansion doesn't happen inside of single quotes, but does inside of double quotes.

Offline

 

#14 2005-02-20 5:56 am

unresort
Member
From: lawrence, kansas
Registered: 2003-01-25
Posts: 778

Re: Hidden "dot" files on desktop.

.$$ Stuffit Temp
is a file that you began un-stuffing and did not finish. Stuffit allows resumable un-stuffing, so it has saved the .temp file for you to finish from the original .sitx'd file.

Offline

 

#15 2005-03-10 6:26 pm

mattis
Member
Registered: 2005-03-10
Posts: 1

Re: Hidden "dot" files on desktop.

Jasoco wrote:

Curious what the BAH is from.. BAH is probably the initials of the app. Can you think of an app that has them?

The built-in zip-application is responsible. When it gets stuck while extracting a file it creates a hidden folder with what I belive is the partly extracted file.

Offline

 

#16 2005-03-10 6:37 pm

ViralDoctor
Member
From: Calgary
Registered: 2003-01-18
Posts: 2213
Website

Re: Hidden "dot" files on desktop.

BAH - BOM Archive Helper
/System/Library/Coreservices/BOMArchiveHelper

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson