Advertisement
How do I empty the trash of locked items?
Stupid files have been sitting there forever and won't go away.
Stupid files have been sitting there forever and won't go away.
posted by:
|
|
Unsubscribed |
Advertisement
Advertisement
-
Re: Emptying the trash
Mon, July 7, 2008 - 6:36 AMThere are tools that will let you remove locked items, such as Cocktail.
But, you can also reboot and the locks will go away and then you can empty the trash. -
-
Re: Emptying the trash
Thu, July 31, 2008 - 9:42 PMGet info and unselect the locked icon -
-
Re: Emptying the trash
Thu, July 31, 2008 - 10:49 PMright ray ,
hightlight the offensive icon , press splat - i , then uncheck the lockbox , lol - see photo just posted
∞ -
-
Unsu...
Re: Emptying the trash
Sat, August 30, 2008 - 10:57 AMeverything is unlocked and still won't disappear -
-
Re: Emptying the trash
Sat, August 30, 2008 - 5:16 PM.
Andrew
.it's probably an old sys 9.x file then . .don't really worry about it . . bury it somewhere in a folder you never use .deep .
mac360.com/index.php/ma..._killer_tips/ java® has been on
macs® since the spinnning clock days ≠ 1990
April 30th, 2007
Default files incomplete folder won't delete
I want to delete the files from my computer of some so the files would go away and I can get space. It works, bu t they come back.
When I delete it in the incomplete folder it comes back. If I delete them in the download list, they are gone, but they don't get deleted. And I go to the libarary and click delete and they also come back. Is there any way of actually deleting them for good?
www.gnutellaforums.com/genera...te.html
h t h ∞ mactechtribe
-
-
Re: Emptying the trash
Sun, August 31, 2008 - 6:31 AMAnyone ever use 'secure empty trash' versus plain old 'empty trash'? -
-
Unsu...
Re: Emptying the trash
Sun, August 31, 2008 - 12:10 PMyep, and doesn't help.
I tried moving the file to the desktop and back into the trash. But now I just have a copy of the file in both places and can't get the new one into the trash as it is locked. Can't move it anywhere.
Why isn't there a "Nuke this file" option? Just drop it somewhere and "BAM" it's gone? -
-
Re: Emptying the trash
Sun, August 31, 2008 - 1:48 PMThere is & drew,
it's called reinstall your system software
if you own and can locate the original DVD or CD
try starting up fro theo riginal system disk. .do not . re install the system software . got up ^^ to the Blue Apple drop down menu ^^. open up " Disk Utility" . .start that program up . . now . . highlight the problem hard drive on you r desktop . . and ' Reset Persmissions ' .
.Yet this presumes you own your own machine and have acccess to it as Administrator .
Do you ? Is this true ?
Alo'ha ∞ -
-
This is the maximum depth. Additional responses will not be threaded.
Re: Emptying the trash
Sun, August 31, 2008 - 4:54 PMThere's an easier way than reinstalling the OS, but you have to be *real* careful. Open the Terminal app and type this command, *exactly* as shown:
sudo rm -i ~/.Trash/*
The descriptive version of the above command is "sudo" space "rm" space "-i" (that's a minus sign and the lower case letter "eye", with no spaces), space, "~/.Trash/*" (the last keyword is "tilde forward-slash period Trash forward-slash asterisk", all with no spaces, and only the "T" in Trash is in upper case). On my keyboard the tilde is just above the tab key and I have to shift to get it - the non-shifted version is the "back single-quote" or "back tick" (or whatever it's called).
The "sudo" part runs the subsequent command as "root" (the all-powerful admin user), so you'll be prompted for your password. The "rm" part is the standard *nix command for removing files, the "-i" part makes the "rm" command interactive, so it'll ask you before it removes each file - hit a "y" (for "yes") to remove it. No return is needed - the file is removed as soon as you hit the"y" key. Hit any other key to not remove it. This is handy in case you mess something else up, since it makes it harder to accidentally delete all your stuff. You can leave the "-i" part out, but then this command becomes quite dangerous. The last part, the "~/.Trash/*" tells the "rm" command to remove all the files in your ".Trash" folder, which is really where your Trash lives. The "~/" refers to your home directory, and the ".Trash" is theactual name of your Trash folder. It won't delete folders, so if the stuck file that won't delete is an application (which are really special folders in OS X) or some other folder, then you'll need a variant of this command.
The most important thing to remember is to not put any spaces before the "*" at the end, since if you do that "*" will refer to all the files in your home directory, and you probably don't want to delete those.
Good luck, and post a follow-up here if you have any questions.
Dana -
-
Unsu...
Re: Emptying the trash
Sun, August 31, 2008 - 6:21 PMHmm...all that sounds complicated. Why isn't there an übertrash to drop the icon and get rid of it? I thought Macs were supposed to be the user friendly version.
But I will try this way.
How do I get a file into the trash that won't go there? -
-
Re: Emptying the trash
Mon, September 1, 2008 - 9:00 PMMacs are generally pretty user friendly, but this is one of those things that's sort of a matter of perspective. On the one hand it would cause less frustration if you could just easily trash anything you wanted, but that increases the risk that you'll accidentally remove something that's important or even critical to the system. Apple apparently chose to err on the side of protecting you from yourself, but that decision certainly isn't perfect, as you well know.
As for forcing a file to go into the trash, that's pretty much the same situation. Some system files have tighter restrictions on them than other files, and the system won't let an average user move them to the trash. In general, if the system resists when you want to do something, there's a chance that doing it could either effect the entire system, or perhaps just other users. This is another policy that doesn't work perfectly, but was probably chosen as the lesser of two (or least of several) evils.
Sorry I don't have a better answer, but maybe you'll find it useful nonetheless.
Dana
-
-
Unsu...
Re: Emptying the trash
Sun, August 31, 2008 - 6:25 PMtyped what you said to and this
rm: /Users/andrew/.Trash/AppleWorks 6 16-36-12.app: is a directory
rm: /Users/andrew/.Trash/AppleWorks 6.app: is a directory
rm: /Users/andrew/.Trash/Dark Castle 3 ƒ: is a directory
came up. -
-
Re: Emptying the trash
Sun, August 31, 2008 - 8:06 PMtyvm Dana ,
Dark Castle 3 . .is great game . . reminds me of Myst® & Tetris®
N e one still remember Oxyd® and Crystal Quest ® ?
i wonder why sysop Tony has no picture ?
< grep > Ω mactechtribe •
-
Re: Emptying the trash
Mon, September 1, 2008 - 8:52 PMOK - if you add an "r" after the "-i" so that it becomes "-ir" then it'll remove all the contents of any directories recursively (that's what the "r" stands for), but it'll still ask you if you want to delete every single file. Since that can be quite tedious, you might want to think about leaving the "i" off so that the command is "sudo rm -r ~/.Trash/*". A litte bit safer way to do this is to "cd" (Change Directory) into the .Trash folder itself, then just remove all the contents, since it's easier to be sure you're only affecting stuff in the Trash that way. To do this, use these commands instead:
cd ~/.Trash
sudo rm -r *
If you get any sort of errors or other messages after the first command, then don't do the second command, since you might not really be in the .Trash directory. The only space in the first command is after the "cd", and the second command is similar to the origanal command except it'll remove all the files in whatever the current directory is, which is why you need to make sure you're in the correct directory first.
Yes, it would be nice if there was a built-in uber-trash, but Apple doesn't give you one of those. There are , however, a few free utilities that are intended to deal with this situation that you could try. A quick search at versiontracker.com turned up these tools that seem like they might work for you, but I haven't tried any of them so I can't vouch for them personally:
www.versiontracker.com/dyn/mo...x/18227
www.versiontracker.com/dyn/mo...x/23110
www.versiontracker.com/dyn/mo...x/17841
www.versiontracker.com/dyn/mo...x/17092
www.versiontracker.com/dyn/mo...x/10517
I hope this helps.
Dana -
-
Unsu...
Re: Emptying the trash
Mon, September 1, 2008 - 10:17 PMThanks for the info, Dana!
Last login: Mon Sep 1 22:09:35 on ttyp1
Welcome to Darwin!
moms-powerbook-g4-17:~ andrew$ cd ~/.Trash
moms-powerbook-g4-17:~/.Trash andrew$
is what appeared after typing in cd ~/.Trash
then added sudo rm -r *
Password: appeared and entered it. Then
override rwxr-xr-x andrew/andrew uchg for AppleWorks 6 16-36-12.app/AppleWorks 6?
How do I tell it yes?
-
-
Unsu...
Re: Emptying the trash
Mon, September 1, 2008 - 10:19 PMwell, just typed yes and it worked. Trash is finally empty.
Now how to get that one file into Trash than won't go there. -
-
Unsu...
Re: Emptying the trash
Tue, September 16, 2008 - 9:22 PMand now that folder is back in the trash, the one I just got rid of. Not sure what made it appear there. Very strange.
-
-
-
-
-
-
-
-
-
-
-
-
-
