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 > Mac OS X > what is a ._filename?

what is a ._filename?
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Jan 1, 2003, 11:52 PM
 
I was downloading some files from limewire and completed downloads of 2 files that had ._ before the filename and i cannot find them in my shared folder now? Is this some kind of hidden file? If so how do I find it and delete it?

Also, Adaptation is one of the best films I've seen in a long time... Spike Jonze is the man!!!
     
Mac Elite
Join Date: Aug 2001
Status: Offline
Reply With Quote
Jan 1, 2003, 11:54 PM
 
Originally posted by makkystyle:
I was downloading some files from limewire and completed downloads of 2 files that had ._ before the filename and i cannot find them in my shared folder now? Is this some kind of hidden file? If so how do I find it and delete it?

Also, Adaptation is one of the best films I've seen in a long time... Spike Jonze is the man!!!
Anything with a . as the first character is invisible in OSX (iirc). If you're comfortable with terminal, use ls -A to see them.
     
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Jan 1, 2003, 11:57 PM
 
have never used the terminal before but would like to get rid of the files. any direction someone could give would be great!
     
Senior User
Join Date: Nov 1999
Location: Tucson, AZ
Status: Offline
Reply With Quote
Jan 2, 2003, 12:16 AM
 
Originally posted by makkystyle:
have never used the terminal before but would like to get rid of the files. any direction someone could give would be great!
In the Terminal, go to the folder where you have the invisible files. To do this, type "cd " and then the path to the folder, then press enter. For example, if the files are in your documents folder, type "cd ~/Documents". (~ represents your home directory.)

Next, type "ls -A" and press enter. This displays all the files on the folder, and the "-A" means to list invisible files.

In the list that is shown, find the files you want to delete. Type "rm " and then the name of the file. For example, to remove a file called ".invisibledocument", you would type "rm .invisibledocument".

Hope that helps. And if it's not quite clear, let me know.
(Last edited by namannik; Jan 2, 2003 at 11:25 AM. )
     
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Jan 2, 2003, 12:50 AM
 
Awesome. Great instructions namannik. Thanks for the help.
     
Forum Regular
Join Date: Oct 2001
Location: Sweden
Status: Offline
Reply With Quote
Jan 2, 2003, 06:01 AM
 
Well if it's hidden, it's probably so for a reason... The reason in this case is that Mac OS X stores the resource fork in ._-files on file systems that doesn't support resource forks (such as UFS). Read more about it here: http://developer.apple.com/techpubs/index.html. Deleting the resource fork might render a file useless, depending on the type of the file.

To sum up: don't delete unknown ._-files if you don't know what you're doing.
     
Clinically Insane
Join Date: Nov 1999
Status: Offline
Reply With Quote
Jan 2, 2003, 07:22 AM
 
It is an old Unix convention to hide files whose names start with a dot, which are sometimes called "dotfiles". Interestingly enough, however, older versions of MacOS also did this.

Filenames which start with a dot were ordinarily forbidden in OS9; the Finder and Save dialogs wouldn't let you enter them. The reason for this is that they used dotfiles for certain drivers. You may remember the infamous .Sony trick, where a file with that name in the right place could render the machine unbootable; the reason for this was that a file with that name would overwrite the driver for floppies. Actually creating a file with that name couldn't be done by ordinary means; you had to find some other way to create the file and then copy it over.
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
     
   
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:52 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