 |
 |
Superstuck Trashbin
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status:
Offline
|
|
Hi, i have a superstuck trashbin that no way will empty short of cloning the system to another fresh install on another mac. I have tried empty, secure emtpy, icemachine, diskwarrior, disk utility, all of it. These files look like remnants of a windows VM of yesteryear...part of the windows itunes library that no longer exists:

|
Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Mar 2004
Location: MacNN database error. Please refresh your browser.
Status:
Offline
|
|
Did you restart the computer then try to empty?
|

This is a computer-generated message and needs no signature.
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status:
Online
|
|
Terminal, type
"sudo rm -Ri " and then drag the "Snow Patrol" folder from the Trash into the terminal window.
It should look something like "sudo rm -Rf /Users/username/path to something/Snow Patrol... "
Hit enter, enter admin password.
The -i flag will ask permission (confirmation) before removing anything.
Disclaimer: BE VERY CAREFUL: "sudo rm -Rf /" would delete your whole HD w/o asking to confirm.
If you are not familiar with the Terminal, better not use this.
-t
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status:
Offline
|
|
Turtle, i get this error:
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
I am in 10.5.2...
|
Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status:
Online
|
|
Originally Posted by forumhound
Turtle, i get this error:
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
I am in 10.5.2...
If you remove individual files, leave the -Ri flag out. It's to process folders recursively, and ask for confirmation along the way.
(Safer option, you can substitue the -Ri with -Rf, and it will never ask for confirmation. If you fsck up, though, you won't know until it's over).
So for ind. files, it should be "sudo rm /path/filename"
-t
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Mar 2004
Status:
Offline
|
|
Originally Posted by forumhound
i get this error:
rm: illegal option -- /
usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
Looks like you made a typo somewhere, and entered rm -/ (or some such thing).
Had you also posted the *preceding* line (the one you entered that caused the error),
then we would have known a lot more.
Originally Posted by turtle777
If you remove individual files, leave the -Ri flag out. It's to process folders recursively, and ask for confirmation along the way. (Safer option, you can substitute the -Ri with -Rf, and it will never ask for confirmation. If you fsck up, though, you won't know until it's over). So for ind. files, it should be "sudo rm /path/filename"
Can't tell for sure if I'm reading that right.
So i'll just say that: -f (force) is not "safer" than -i (interactive)...
and -R doesn't care if the arg is a folder or a file. [rm will still work, either way.]
|
|
-HI-
|
| |
|
|
|
 |
|
 |
|
Fresh-Faced Recruit
Join Date: May 2008
Location: Cincinnati, Ohio
Status:
Offline
|
|
Try holding down the Option key while emptying.
|
|
DEATH TO THE NEW WORLD ORDER!
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Jan 2002
Location: London, UK
Status:
Offline
|
|
If you look at the bottom left corner of the Final Straw folder you will see a padlock, indicating that the folder is locked (as the error message is telling you). Either do as the error message/Fat Guy is telling you or Get info on the folder and deselect the 'Locked' check box (under the General heading in the Get info dialogue), then delete.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Jun 2001
Location: planning a comeback !
Status:
Online
|
|
Originally Posted by Hal Itosis
Can't tell for sure if I'm reading that right.
So i'll just say that: -f (force) is not "safer" than -i (interactive)...
and -R doesn't care if the arg is a folder or a file. [rm will still work, either way.]
Sorry, I wasn't clear in my post.
I meant it this way:
If you remove individual files, leave the -Ri flag out. It [-Ri] is to process folders recursively, and ask for confirmation along the way. That's the safer option.
You can substitue the -Ri with -Rf, and it will never ask for confirmation (= unsafe)
I basically gave him the safe option first, which would prompt him to cinfirm everything that gets deleted. in case he tried to rm -R /, it would ask him about eleventy billion times for confirmation.
-t
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
However, since the problem seems to be just that the files are locked, just holding down the Option key while emptying the trash as FatGuy suggested is much simpler and will work just as well.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status:
Offline
|
|
thanks for the help, but this one is bad bad. the locked folder is read only, says i don't have permission, but I am the admin so go figure.

i have tried booting from OSX to repair permission, etc, etc. This problem is specific to this account however, I have verified that. short of deleting the account and starting over, not sure what else to do!
I think this is a parallels snafu originally, ie. when I have PD open, I can empty the trash, but as soon as PD closes, the trash comes back! very strange...
(Last edited by forumhound; May 19, 2008 at 08:16 PM.
(Reason:PD comment))
|
Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Aug 2006
Location: Toronto, Ontario
Status:
Offline
|
|
|
|
|
R.I.P Steve Jobs
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Nov 2007
Location: Kathmandu Nepal
Status:
Offline
|
|
Besson, thanks, but no luck. nothing happens. I just noticed that OSX thinks these files reside here:
/Volumes/WINXP/.Trashes/501/Snow\ Patrol\ -\ Final\ Straw\ -\ 256Kbs which is a fat32 bootcamp partition. perhaps this has something to do with it's stickiness.
Mkerr, thanks for that comprehensive list of stuff, I got way down into it to the part for hard-to-clean trashes, and it got into suggesting third-party softwares I never heard of. Our machines have icemachine and diskwarrior, and I prefer not to go beyond that if unless its an emergency, which this is obviously not!
|
Dead MBP 2.2 4gig / New Aluminum iMacs / "Old" iPhones / 1st Gen Ipod Shuffle
|
| |
|
|
|
 |
|
 |
|
Administrator 
Join Date: Apr 2001
Location: San Antonio TX USA
Status:
Offline
|
|
Have you tried...
Repairing the disk (boot from the OS X DVD and use Disk Utility to repair the whole disk, NOT JUST the volume) and then trying to empty the trash?
Starting the computer in Safe Mode and emptying the trash?
Starting in Single User Mode and emptying the trash?
(Grasping at straws here...)
|
|
Glenn -----
OTR/L, MOT, Tx
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Mar 2001
Location: yes
Status:
Offline
|
|
Originally Posted by forumhound
Besson, thanks, but no luck. nothing happens. I just noticed that OSX thinks these files reside here:
/Volumes/WINXP/.Trashes/501/Snow\ Patrol\ -\ Final\ Straw\ -\ 256Kbs which is a fat32 bootcamp partition. perhaps this has something to do with it's stickiness.
Mkerr, thanks for that comprehensive list of stuff, I got way down into it to the part for hard-to-clean trashes, and it got into suggesting third-party softwares I never heard of. Our machines have icemachine and diskwarrior, and I prefer not to go beyond that if unless its an emergency, which this is obviously not!
Could you be more specific? Does it prompt you for your password? Does it spit out any errors (it should if it finds something it can't delete)? Can you display us the output of:
ls -l ~/.Trash/path/to/undeleteable_file
Is it hardlinked to the above path? How did you discover that path name?
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Dec 2000
Status:
Offline
|
|
Originally Posted by forumhound
Besson, thanks, but no luck. nothing happens. I just noticed that OSX thinks these files reside here:
/Volumes/WINXP/.Trashes/501/Snow\ Patrol\ -\ Final\ Straw\ -\ 256Kbs which is a fat32 bootcamp partition. perhaps this has something to do with it's stickiness.
Try this, then:
(two-part command because I don't like putting rm -r and / or * in the same command)
cd /Volumes/WINXP/.Trashes/501
sudo rm -r 'Snow Patrol - Final Straw - 256Kbs'
See if that gets rid of it.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|