Force Delete the whole Trash in One click ?

Discussion in 'iMac' started by soamz, Feb 5, 2013.

  1. soamz macrumors 6502a

    Joined:
    Jun 20, 2010
    Location:
    Orissa, India
    #1
    Hi.. I did a mistake. Instead of simply formatting my Time Machine, I selected all backups and clicked on delete.

    Now the whole bunch of files and folders are on the trash.

    Might be over 600GB and 5000k files. Trash will take foreover to delete this .

    Is there a way, I can get out of this situation and delete the whole trash in one click ?

    I have already tried doing it from terminal , but it doesnt do anything. Im lost.
     
  2. justperry macrumors 604

    justperry

    Joined:
    Aug 10, 2007
    Location:
    In the core of a black hole.
    #2
    Yes you can but it's a bit tricky.

    Normally if you delete a folder in terminal it's just that, a deleted folder.

    Now, the trash is also a folder and if you delete this folder you need to create a new one instantly.

    So:

    sudo rm -r /Users/****/.Trash
    sudo mkdir .Trash /Users/

    **** = your User Name

    Note: look if .Trash is created, invisible files need to be visible to see this.
     
  3. soamz thread starter macrumors 6502a

    Joined:
    Jun 20, 2010
    Location:
    Orissa, India
    #3
    Ok I did it this way.

    SImply formatted the time machine drive again and it automatically deleted the trash.
     

Share This Page