Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Renamed trash can't change it back!

Renamed trash can't change it back!
Thread Tools
Forum Regular
Join Date: Jun 2003
Location: South of the border, UK
Status: Offline
Reply With Quote
Nov 2, 2003, 05:24 PM
 
ARGH!! Whilst messing around with get info and trying to add the trash to the side bar I renamed it ~/trash (i.e. without the '.')...

Now it won't empty.....:-(

How can i change it back to ~/.trash (and so get my much-missed-trash-emptying-powers back??)

Cheers in advance!

iMac FP 17'' 800, 768mb, Panther...
"I'm Captain Chaos! Been in the force long...?"
     
Dedicated MacNNer
Join Date: Apr 2001
Status: Offline
Reply With Quote
Nov 2, 2003, 05:42 PM
 
Fire up Terminal and type the following:

sudo mv Trash .Trash

then hit return. Type in your normal user password and all should be well. Alternatively you could delete the directory by typing

sudo rm Trash

and OS X will recreate the directory.

[edit] You could try both these commands without them being preceeded by sudo, since they're in your home directory. But if the file won't delete, putting sudo in there will temporarily give you the root-level access needed to delete it.

Hope this helps.
     
Forum Regular
Join Date: Jun 2003
Location: South of the border, UK
Status: Offline
Reply With Quote
Nov 2, 2003, 06:17 PM
 
Originally posted by LaGow:
Fire up Terminal and type the following:

sudo mv Trash .Trash

then hit return. Type in your normal user password and all should be well. Alternatively you could delete the directory by typing

sudo rm Trash

and OS X will recreate the directory.

[edit] You could try both these commands without them being preceeded by sudo, since they're in your home directory. But if the file won't delete, putting sudo in there will temporarily give you the root-level access needed to delete it.

Hope this helps.
Thanks for the help, it seems to have worked! I now have nice empty trash!!
"I'm Captain Chaos! Been in the force long...?"
     
Dedicated MacNNer
Join Date: Apr 2001
Status: Offline
Reply With Quote
Nov 2, 2003, 10:17 PM
 
You are quite welcome.

It's always nice to hear something worked!

Andy
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:22 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2