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

Click here to return to the 'try -r instead of -R' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
try -r instead of -R
Authored by: verlhum on Jan 17, '05 03:24:12AM
I am surprised no one mentioned this but it seem that the command you are using is slightly wrong for the purpose. The correct command should be
 sudo rm -rf ~/.Trash/*
I prefer to always use * when I am trying to rm something from the trash. The "-R" flag indicates removal of empty directories while the "-r" flag will delete the contents of a directory, then the directory itself. Ran into this problem until in did a man on rm and figured out how the flag worked.

[ Reply to This | # ]