Thursday, June 24, 2010

Fix OS X Trash Issues

Recently, I lost the ability to move files to the trash on my iMac running OS 10.6. At first I thought this might be a win, but the idea of accidentally deleting important files quickly filled my mind.  To rebuild the trash folder, run the below terminal command. The first command is for your main admin account and the second one is for another user with the user's short name replacing "user_name" in the command.


Main Admin account: sudo rm -rf ~/.Trash


User account: sudo rm -rf /Users/user_name/.Trash




If you are running this for the same account you are logged into, you will need to log off after running the command.

 


No comments:

Post a Comment