Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Emptying stubborn trash with Terminal.app' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Emptying stubborn trash with Terminal.app
Authored by: rpcr on Apr 06, '05 08:56:07AM

You want to put a sudo in front of both of those - the whole reason the trash won't empty is because some process has the trashed file(s) open.

An ordinary user can't override these other processes' need for the trashed file, but the superuser can.

So:

sudo rm -r ~/.Trash/*

[password requested and entered]

and/or

sudo rm -r /Volumes/MountedVolumeName/.Trashes/*

[password requested and entered]

Oh, and notice that the volume-wide trash for volumes (both mounted in the /Volumes directory, and the boot volume, /) is .Trashes, not .Trash. Only user home directories use .Trash as the trash directory.



[ Reply to This | # ]