I've renamed my Trash file and now it won't delete....

Discussion in 'Mac OS X Lion (10.7)' started by eh839p, Feb 3, 2012.

  1. eh839p macrumors newbie

    Joined:
    Feb 3, 2012
    #1
    First of all... yes I'm a idiot.

    I followed a video to put my trash folder in my side bar and before watching it all I renamed it from '.trash' to 'trash', now it won't empty, assuming it can't find the correct path.
    I've looked into the dock.app 'InfoPlist.strings' to edit the name using 'Komodo' but it's now encoded. It let me edit the finder.app but not the dock.app... (?)

    Anyway.

    Any help would be great.

    Cheers,
    Barry
     
  2. maflynn Moderator

    maflynn

    Staff Member

    Joined:
    May 3, 2009
    Location:
    Boston
  3. eh839p thread starter macrumors newbie

    Joined:
    Feb 3, 2012
    #3
    It says 'The name ".Trash" can't be used because it's reserved by the system.'
     
  4. Partron22 macrumors 68000

    Partron22

    Joined:
    Apr 13, 2011
    Location:
    Yes
  5. yeah macrumors 6502a

    yeah

    Joined:
    Jul 12, 2011
    #5
    Open Terminal, located in the Macintosh HD > Applications > Utilities folder.

    At the Terminal prompt, type one of the following commands:

    If the affected account is: Then type the Terminal command:
    Your Admin account: sudo rm -ri ~/.Trash
    Another user account: sudo rm -ri /Users/user_name/.Trash
    where user_name is the short name of the affected account.

    Note that:

    There is a single space after each of the terms sudo, rm, and -ri in the command.
    Assure you have typed the command exactly as specified before proceeding: typographical errors in this command can have dire consequences, including erasing your hard drive!
     

Share This Page