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.

VN:F [1.7.9_1023]
Rating: 9.7/10 (3 votes cast)
VN:F [1.7.9_1023]
Rating: 0 (from 0 votes)
Empty recyclebin/trash from command line9.7103number of view: 527
  • Share/Bookmark

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>