Really weird trash problem...?

Discussion in 'OS X Mountain Lion (10.8)' started by d0vr, Feb 9, 2013.

  1. d0vr macrumors 6502a

    Joined:
    Feb 24, 2011
    #1
    I'm trying to empty my trash but it's stuck on one video. I've cleared the rest by making it skip this file, but now it won't go away. When I use empty trash, it says the file is in use. Using 'lsof' in the terminal shows that only finder is using the file. Trying to use "securely empty trash" results in it just hanging on the file and the progress bar not moving.

    I've used alt+"delete" to try and force the delete on both of the above options and resulted in the same problems.

    Now the weird parts. when pressing space and opening up the quick preview panel, the place where it shows the file size keeps changing between "Calculating size..." and "7.04GB". The last modified space adds one second each time it flashes (so it's checking the file size each second). I can still move the file out of the trash, and the same thing keeps on happening (it keeps checking the file size)

    I just changed my directory structure around and I think I may of accidentally corrupted this file somehow. Since I changed up how my hard drive partitioning, spotlight is trying to index my computer again. It's stuck on "Estimating index time.." and I think it's stuck on this file. When I reboot my computer, the checking of the file size stops, but when I try to delete the file, it starts again.

    How can I force this file to be deleted and get back 1.5% of my disk? It's not a lot of space, but to lose it permanently seems like a waste :p I'd also like my computer to be able to complete the index as well...
     
  2. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #2
    Are you able to delete it in terminal?
    sudo rm filename
     
  3. ideal.dreams macrumors 68020

    ideal.dreams

    Joined:
    Jul 19, 2010
    Location:
    OH
    #3
    Try what mrapplegate suggested but be careful when using Terminal to delete files. A typo could cause unrepairable damage to your system.

    Before opening terminal, open your trash can and use CMD+C to copy the file you're trying to get rid of. Then open terminal, type "sudo rm " without quotes (with the space after rm) and then paste. This will paste the file's path so you know it's accurate. You will be prompted to type your password after pressing enter. Note that while you're typing your password it won't show up. Just type it in and press enter. Hopefully that'll solve your issue!

    Good luck.
     
  4. d0vr thread starter macrumors 6502a

    Joined:
    Feb 24, 2011
    #4
    -.- ****, yup. Why don't all help websites just start with something as simple as that. Spotlight finished indexing, and my fan stopped going loudly as soon as I did that.

    Is there anyway to check and make sure I've reclaimed the disk space?

    ----------

    I just dragged the file into terminal to get the path. This thread makes me look like a noob, doesn't it? :p Hopefully your post will be useful to anyone googling now for a similar problem who doesn't know how to use terminal. Thanks though!
     
  5. ideal.dreams macrumors 68020

    ideal.dreams

    Joined:
    Jul 19, 2010
    Location:
    OH
    #5
    Dragging the file works too :p. Glad you got it fixed!
     
  6. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #6

    Glad you got it working. You can use Activity Monitor and check the disk usage tab or choose Get Info from your HD icon and check used/available space there. There are other ways as well.
     

Share This Page