December 2009
S M T W T F S
« Sep   Mar »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Pages

Empty recyclebin/trash from command line

Some time we need to empty the trash folder when we are working on terminal. you can simple do this using the following command.

rm -rf ~/.Trash

to delete other user trash, use:

sudo rm -rf /Users/user_name/.Trash

*to delete other users trash, you have to use sudo.

number of view: 554