emptying trash negative items to delete

Discussion in 'Mac OS X Lion (10.7)' started by idonotliketostu, Jun 14, 2011.

  1. idonotliketostu macrumors 6502

    Joined:
    Feb 28, 2008
    #1
    i wanted deleting around 450,000 items, as it counted down to 0, it went into the negatives? WHAT?
     

    Attached Files:

  2. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #2
    I vote bug, and thank you for not making this thread a poll :D
     
  3. kg1984 macrumors member

    Joined:
    Dec 28, 2007
    #3
    I am having this problem as well on a new Lion install. I'm trying to delete my old Time Machine backups from Snow Leopard. Currently at -90,000!

    Is it a bug in the sense that Finder has not calculated correctly the number of files in the Trash?
     
  4. Mr. Retrofire macrumors 601

    Mr. Retrofire

    Joined:
    Mar 2, 2010
    Location:
    www.emiliana.cl/en
    #4
    The Finder of Mac OS 9.0.4 had a similar bug, IIRC. An update fixed it.

    The counter value is probably not large enough (SInt16 for example), and overflows. A classic (ha, ha, ha) programming error. Obviously still present in the OS X 10.7.0 Finder.

    *ROTFLMAO*
     
  5. matejkriz macrumors newbie

    Joined:
    Aug 4, 2011
    #5
    It caused by "hardlinks" which use f.e. timemaschine... Items looks like many, but are the same.
     
  6. kirky29 macrumors 65816

    kirky29

    Joined:
    Jun 17, 2009
    Location:
    Lincolnshire, England
    #6
    Yeah, I got this the other day!

    I was gonna post too, but then forgot!
     
  7. DublinJimbo macrumors newbie

    Joined:
    Aug 5, 2011
    #7
    At least it's reassuring to know that I'm not alone with this problem.

    As a stopgap solution I found that stopping and restarting deletion (several times) eventually returned things to normal and finalised the operation.
     
  8. DocNYz macrumors 6502a

    DocNYz

    Joined:
    Jun 9, 2008
    Location:
    East Coast, USA
    #8
    This is happening to me now and I'm already past -394,500 ... for those of you this also happened to, did it finish eventually and it's just the counter issue as proposed earlier in the thread or did it just keep doing this until you stopped it?
     
  9. Mark7 macrumors newbie

    Joined:
    Jun 27, 2010
    #9
    I'm stuck in the same boat here, -100,000 and counting. Any tips?
     
  10. irqd macrumors newbie

    Joined:
    Jun 23, 2010
  11. zeemeerman2 macrumors 6502

    Joined:
    Feb 21, 2010
    #11
    You might stop the deletion process (press the X at the right of the progress bar) and re-start it again. All deleted items stay deleted, and the counter will recalculate the value from the current amount of deleted items.
     
  12. mcs37 macrumors regular

    mcs37

    Joined:
    Mar 2, 2003
    Location:
    Washington, DC
    #12
    I'm at -351,000 and it's still going strong. The total empty trash command has been running for 3-4 hours now at least. I did cancel it once and restart (somewhere around -250,000) and it's still here. Mind you I'm removing 6-8 months of time machine.

    I'm comforted to know that it will eventually stop, but it's still the most bizarre bug to see, especially from an apple product.
     
  13. mcs37 macrumors regular

    mcs37

    Joined:
    Mar 2, 2003
    Location:
    Washington, DC
    #13
    I went to sleep after it had past ~520,000 in the negative and by morning it was all clear. However, the trash still appears with contents, so I've tried to empty it several times and it pretty much does the same thing: it counts up to ~80, asked for me to remove only unlocked items or all items, makes the empty trash sound, but it still has stuff in it (the same stuff as before). I've repeated this cycle 3-4 times now. The only way I can get the trash to fully go away is to unplug the firewire to my drobo.
     
  14. valter macrumors newbie

    Joined:
    Jun 8, 2010
    #14
    the only way i found to delete these files is to go into terminal, and cd into the external drive

    cd /Volumes/Drivename/.Trashes/501/
    sudo rm -rl -v *

    the -v is so it scrolls by as it deletes stuff.

    that should remove all the files in the external drive's trash folder, therefore removing it from your local machine's trash bin.

    frustrating. took me hours before i figured it out. if you want to see the exact path, command i on the files in the trash to see the full path.

    let me know if that helps.
     
  15. Schtumple macrumors 601

    Schtumple

    Joined:
    Jun 13, 2007
    Location:
    benkadams.com
    #15
    Restart btw, I had this issue, restarted after doing the big push, emptied again and it did it all fine.
     
  16. unixperience macrumors regular

    Joined:
    Jul 21, 2010
    #16

    time machine backups back up EVERYTHING, including operating system files!! as a safety the OSX has some special BLOCKED files that you aren't able to delete easily. This is stuff the computer needs to run, or has important settings and data and normally shouldn't be deleted. as far as the trash is concerned, the files you are throwing away is the original, and it doesn't want you to mess something up. But ou are a bit smarter than the trash, you know it's a time machine backup, and the originals are still safe on your computer, so next time you empty the trash empty ALL items (INCLUDING blocked ones) it may ask for a password, this should rid the hdd of those last 80 items. I'm sure the terminal trick valter posted will work as well, but I always just tell it to also remove blocked files, its much easier
     
  17. nippyjun macrumors 65816

    Joined:
    Jul 26, 2007
    #17
    I went through this last night. I wound up stopping the process a few times and then starting it again. When it was finally done it still showed trash to be emptied.

    I had to hold down option when emptying the trash and it finally emptied.
     
  18. bdodds1985 macrumors 6502a

    bdodds1985

    Joined:
    Jul 18, 2011
    Location:
    Tartarus
    #18
    I have deleted a good amount of files and seen this before, but it sorts itself out or always seems to. only does it with large files.

    seems to me lions just aren't very accurate and are horrible counters.
     
  19. Schtumple macrumors 601

    Schtumple

    Joined:
    Jun 13, 2007
    Location:
    benkadams.com
    #19
    It's not just Lion, I've had it since Leopard tbh.
     
  20. bdodds1985 macrumors 6502a

    bdodds1985

    Joined:
    Jul 18, 2011
    Location:
    Tartarus
    #20
    you couldnt just spell it out? i had to google tbh for that?
     
  21. Schtumple macrumors 601

    Schtumple

    Joined:
    Jun 13, 2007
    Location:
    benkadams.com
    #21
    1st world problem.
     
  22. bdodds1985 macrumors 6502a

    bdodds1985

    Joined:
    Jul 18, 2011
    Location:
    Tartarus
    #22
    lol. smh. seriously.
    [​IMG]
     
  23. Schtumple macrumors 601

    Schtumple

    Joined:
    Jun 13, 2007
    Location:
    benkadams.com
    #23
    I had to google smh, so there, now we're both equal.
     
  24. mamismo27 macrumors newbie

    Joined:
    Apr 1, 2012
    #24
    Fix

    Go to Terminal and type rm -rf then drag the files you need to delete into terminal then press enter. if it doesn't let you type sudo rm -rf then drag the files in press enter and type in your password and press enter again and it will delete all files after a few minutes depending on how much it is.
     
  25. hlewis1332 macrumors newbie

    Joined:
    Apr 28, 2012
    #25
    simple way if it works for you

    reformat the drive with the trashes
    then trash empties very easily
    i was able to do this since i was setting up a new time machine drive and had no use for the older material
     

Share This Page