Trash deleting on it's own

Discussion in 'Mac Basics and Help' started by shannonp, Oct 5, 2007.

  1. shannonp macrumors newbie

    Joined:
    Oct 5, 2007
    #1
    Last night I was clearing out some space and couldn't delete some things, so after doing a google search, found this link: http://forums.macrumors.com/archive/index.php/t-74083.html to an old post here on macrumors.com, where it gave a solution using the terminal. So I did that, and it worked fine, problem solved. Or so I thought. Instead I now have a whole new problem, which is that my trash empties now as soon as I put something in it. Sometimes it just disappears, other times I get a warning that says "this item will be deleted forever". Any idea how I can stop this from happening in case I accidentally put something in there I don't want to delete?
    thanks!
     
  2. Eidorian macrumors Penryn

    Eidorian

    Joined:
    Mar 23, 2005
    Location:
    Indianapolis
    #2
    It sounds like you somehow deleted your trash folder. It happens to me for some bizarre reason as well.

    In Terminal

    mkdir ~/.Trash
     
  3. shannonp thread starter macrumors newbie

    Joined:
    Oct 5, 2007
    #3
    thank you so much, that worked like a charm! (had to restart finder, and then i was good to go!)
    thanks again!!
     
  4. Eidorian macrumors Penryn

    Eidorian

    Joined:
    Mar 23, 2005
    Location:
    Indianapolis
    #4
    I'd be wary of using "rm -r" unless you really know what you're going to delete.
     
  5. shannonp thread starter macrumors newbie

    Joined:
    Oct 5, 2007
    #5
    i definitely won't be doing it again. Instead I'll look for some sort of application to help with force deleting files if it becomes necessary.
     
  6. jeremy.king macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #6
    With stubborn files, try holding down the option key while emptying the trash.
     
  7. Eidorian macrumors Penryn

    Eidorian

    Joined:
    Mar 23, 2005
    Location:
    Indianapolis
    #7
    If you actually go into the ~/.Trash folder and you can see what trash you can force delete.

    cd ~/.Trash
    rm -fi 'filename'

    The 'i' signifies interactive. Tab completion. <3

    Code:
         -i          Request confirmation before attempting to remove each file,
                     regardless of the file's permissions, or whether or not the
                     standard input device is a terminal.  The -i option overrides
                     any previous -f options.
    Secure Empty Trash is nice but it can take ages on large or many files.
     
  8. jeremy.king macrumors 603

    jeremy.king

    Joined:
    Jul 23, 2002
    Location:
    Fuquay Varina, NC
    #8
    Holding option != Secure empty

    the option key is for deleting locked items.
     
  9. Blubbert macrumors 6502

    Joined:
    Nov 1, 2006
    #9
     
  10. synth3tik macrumors 68040

    synth3tik

    Joined:
    Oct 11, 2006
    Location:
    Minneapolis, MN
    #10
    A lot of times the trash can not empty because there is a process running something that you placed in the trash. Using Activity monitor you can kill this process with out messing Terminal. A lot safer way.
     

Share This Page