Go Back  Mac-Forums.com  > Software > OS X - Operating System > Deleting Hidden files...

Reply
 
LinkBack Thread Tools
Old 10-24-2004, 07:40 PM   #1 (permalink)
ldj
Guest
 
Posts: n/a
Deleting Hidden files...

Hi,
Im fairly new to OS X and i was using Stuffit Expander for some pretty big RAR files. The file was corrupt and i tried to extract it a couple of times. When i was looking through my desktop folder through a program i have, it showed all these files that i cant see on the desktop: like .$$ Stuff.....
I have read that these are hidden files, but i have no idea how to delete them, they are taking up about 2 Gigs of my HD and are completely useless. Can anyone please tell me how to delete them? TIA.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 10-24-2004, 11:57 PM   #2 (permalink)
witeshark
Banned
 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7
Such files can be seen in the terminal using the ls (list with just the l and s) command Make sure you know the file path, and you don't need to change the directory to see the list
witeshark is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 11-04-2004, 05:30 PM   #3 (permalink)
ldj
Guest
 
Posts: n/a
I know how to find the files, i dont know how to DELETE the files. Can someone please help me out, tia.
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 11-04-2004, 06:09 PM   #4 (permalink)
immdb

 
immdb's Avatar
 
Member Since: Nov 04, 2003
Location: Southern Indiana
Posts: 644
immdb will become famous soon enough
Mac Specs: Mac Pro Quad Xeon 2.66GHz 3GB RAM, G4 Quicksilver w/Sonnet 1GHz Encore ST, 1ghz G4 Powerbook
If you find them using the desktop "Find" function by setting the visibility to invisible, you should be able to drag them from the results window to the trash.
immdb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 11-05-2004, 01:09 AM   #5 (permalink)
cradom

 
Member Since: Feb 14, 2004
Location: South-East Texas
Posts: 1,054
cradom is a jewel in the roughcradom is a jewel in the roughcradom is a jewel in the rough
Mac Specs: B&W 350 G3, upgraded to 1ghz G4 with Sonnet Zif.
In the Terminal....

rm filename

if it's a directory...

rm -r name
cradom is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 11-05-2004, 01:18 AM   #6 (permalink)
witeshark
Banned
 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7
rm, unlink - remove directory entries

SYNOPSIS
rm [-dfiPRrvW] file ...
unlink file

DESCRIPTION
The rm utility attempts to remove the non-directory type files specified
on the command line. If the permissions of the file do not permit writ-
ing, and the standard input device is a terminal, the user is prompted
(on the standard error output) for confirmation.

The options are as follows:

-d Attempt to remove directories as well as other types of
files.

-f Attempt to remove the files without prompting for confirma-
tion, regardless of the file's permissions. If the file does
not exist, do not display a diagnostic message or modify the
:
rm, unlink - remove directory entries

SYNOPSIS
rm [-dfiPRrvW] file ...
unlink file

DESCRIPTION
The rm utility attempts to remove the non-directory type files specified
on the command line. If the permissions of the file do not permit writ-
ing, and the standard input device is a terminal, the user is prompted
(on the standard error output) for confirmation.

The options are as follows:

-d Attempt to remove directories as well as other types of
files.

-f Attempt to remove the files without prompting for confirma-
tion, regardless of the file's permissions. If the file does
not exist, do not display a diagnostic message or modify the
:
exit status to reflect an error. The -f option overrides any
previous -i options.

-i Request confirmation before attempting to remove each file,
regardless of the file's permissions, or whether or not the
standard input device is a terminal. The -i option overrides
any previous -f options.

-P Overwrite regular files before deleting them. Files are
overwritten three times, first with the byte pattern 0xff,
then 0x00, and then 0xff again, before they are deleted.

-R Attempt to remove the file hierarchy rooted in each file
argument. The -R option implies the -d option. If the -i
option is specified, the user is prompted for confirmation
before each directory's contents are processed (as well as
:
before each directory's contents are processed (as well as
before the attempt is made to remove the directory). If the
user does not respond affirmatively, the file hierarchy
rooted in that directory is skipped.

-r Equivalent to -R.

-v Be verbose when deleting files, showing them as they are
removed.

-W Attempt to undelete the named files. Currently, this option
can only be used to recover files covered by whiteouts.

The rm utility removes symbolic links, not the files referenced by the
links.

It is an error to attempt to remove the files ``.'' or ``..''.

When the utility is called as unlink, only one argument, which must not
be a directory, may be supplied. No options may be supplied in this sim-
ple mode of operation, which performs an unlink(2) operation on the
passed argument.

:
The rm utility exits 0 if all of the named files or file hierarchies were
removed, or if the -f option was specified and all of the existing files
or file hierarchies were removed. If an error occurs, rm exits with a
value >0.

NOTE
The rm command uses getopt(3) to parse its arguments, which allows it to
accept the `--' option which will cause it to stop processing flag
options at that point. This will allow the removal of file names that
begin with a dash (`-'). For example:
rm -- -filename
The same behavior can be obtained by using an absolute or relative path
reference. For example:
rm /home/user/-filename
rm ./-filename

SEE ALSO
rmdir(1), undelete(2), unlink(2), fts(3), getopt(3), symlink(7)

BUGS
The -P option assumes that the underlying file system is a fixed-block
file system. In addition, only regular files are overwritten, other types of files are not.
witeshark is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 08-08-2006, 01:00 PM   #7 (permalink)
Beemer

 
Beemer's Avatar
 
Member Since: Feb 25, 2006
Location: North America
Posts: 146
Beemer will become famous soon enough
Mac Specs: Intel 20" Mac
I have the same problem. About 8 folders of StuffIt that didn't unarchive correctly are still on my desktop. I can see them using Azereus and opening a torrent and tehy are listed. I can't drag them into the trash or delete them.

I have deleted these before easily but I forgot how its been a while.

I tried using the 'find' and it never found them.

I tried using Terminal and it said no directory existed.

Is there anyway just to allow to see invisible files and then just to drag them into the trash? Thanks.
Beemer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 08-08-2006, 01:52 PM   #8 (permalink)
surfwax95

 
surfwax95's Avatar
 
Member Since: Aug 27, 2005
Location: Fayetteville, AR
Posts: 2,411
surfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud of
Mac Specs: 15" Powerbook G4 • 24" iMac • iPhone 3Gs
Open Terminal and copy/paste:

defaults write com.apple.Finder AppleShowAllFiles TRUE; killall Finder

This allows all hidden files to be visible in Finder. You can delete them using the normal GUI way, then copy/paste:

defaults write com.apple.Finder AppleShowAllFiles FALSE; killall Finder

This will get you back to normal.

Cheers.
__________________
I try to Command+Shift+/ when I can.
They're - Their - There | Two - Too - To | You're - Your | MAC - Mac
I was on the M-F honor roll for October, 2006.
surfwax95 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 08-08-2006, 02:36 PM   #9 (permalink)
Beemer

 
Beemer's Avatar
 
Member Since: Feb 25, 2006
Location: North America
Posts: 146
Beemer will become famous soon enough
Mac Specs: Intel 20" Mac
Thank you! That worked!
Beemer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
List view vs. Icon view - can't see all files =^o.o^= Switcher Hangout 8 01-20-2007 07:39 PM
deleting files takes up more space??? niftyneil Apple Notebooks 3 06-09-2004 12:31 PM
search hidden files futerfas OS X - Operating System 3 04-27-2004 08:11 PM
Microsoft's Really Hidden Files Murlyn Anything Goes 1 09-02-2003 08:36 PM
"Invisify" files and directories in the Finder gatorparrots OS X - Darwin and Development 2 02-10-2003 12:24 AM

 
 
 
     
Home Calendar Get New
     

Copyright ©2001-2009 Mac-Forums.com. All Rights Reserved. A division of iNET Interactive.

Other iNET Interactive Sites: Web Hosting Talk | Swish Talk | Hosting Catalog.com| Dev Papers| Deleted Domains| Hot Scripts

Powered by vBulletin
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.