Every partition has its own trash folder. This is necessary because it means you can delete stuff without the system copying files to one main trash directory. On external drives, this folder is in the root folder called .Trashes (note not .Trash).
You may need admin permissions to see it. If you type this into terminal, it will list the trash contents on a drive:
sudo ls -al /Volumes//.Trashes
It will ask for you password.
Normally, the trashes folder has a list of folders named by user ID. I think 502 is the default admin ID so inside .Trashes there should be a folder called 502. To see what's in there, you would just do this:
sudo ls -al /Volumes//.Trashes/502
to empty it, you would type
sudo rm -rf /Volumes//.Trashes/502/*
Again to save typing the name, you can drag the volume to the terminal but don't drag it from the Finder sidebar. This will just remove the drive from the sidebar. If you don't mount volumes on the desktop, add the computer to your Finder sidebar (or go menu>computer) and access it there.
You can also use tab as an autofill so if you type /V (for /Volumes... above) and then tab, it will fill in the rest of the name.
In general, it's not a good idea to use sudo rm. Save it for those times when it's absolutely necessary. You can actually erase important stuff that way. This is why it's good to drag stuff to the terminal too because if you accidentally left a space out between the first / and what came after it, you'd erase your entire partition.
Sunday, October 29, 2006
Localize.rsrc file won't delete!
And then I found my answer...
No comments:
Post a Comment