March 2010
S M T W T F S
« Dec    
 123456
78910111213
14151617181920
21222324252627
28293031  

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