[X-Unix] Using the CLI to delete "pesky" files/folders

PoolMouse poolmouse_nyc at mac.com
Sun Apr 24 22:14:56 PDT 2005


At 3:09 PM +1000 4/25/05, Mark Gibson wrote:
>At 01:03 -0400 25/4/05, PoolMouse wrote:
>>John Harrold <jmh17 at pitt.edu> wrote:
>>
>>>OS X seems to story the trash in ~/.Trash
>>>
>>>Try something like:
>>>
>>>rm -rf ~/.Trash/*.*
>>>
>>>If that doesn't work you can try:
>>>
>>>sudo rm -rf ~/username/.Trash/*.*
>>>
>>>Where username is your login.
>>
>>...remove the tilde in the second command.
>>
>>don
>
>Don,
>
>Thanks, but I suspect rm is only good for files and I"m talking 
>about an issue with a folder / directory.

rm works with directories if you use the -R flag. see my followup 
email...did you try chflags?

don


More information about the X-Unix mailing list