Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

idonotliketostu

macrumors 6502
Original poster
Feb 28, 2008
398
0
i wanted deleting around 450,000 items, as it counted down to 0, it went into the negatives? WHAT?
 

Attachments

  • Screen Shot 2011-06-14 at 6.06.49 PM.png
    Screen Shot 2011-06-14 at 6.06.49 PM.png
    32 KB · Views: 668
  • Screen Shot 2011-06-14 at 6.08.22 PM.png
    Screen Shot 2011-06-14 at 6.08.22 PM.png
    32.2 KB · Views: 858

kg1984

macrumors member
Dec 28, 2007
32
0
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?
 

Mr. Retrofire

macrumors 603
Mar 2, 2010
5,064
518
www.emiliana.cl/en
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*
 

matejkriz

macrumors newbie
Aug 4, 2011
1
0
It caused by "hardlinks" which use f.e. timemaschine... Items looks like many, but are the same.
 

DublinJimbo

macrumors newbie
Aug 5, 2011
2
0
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.
 

DocNYz

macrumors 6502a
Jun 9, 2008
625
40
East Coast, USA
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?
 

zeemeerman2

macrumors 6502
Feb 21, 2010
272
25
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.
 

mcs37

macrumors regular
Mar 2, 2003
187
7
Washington, DC
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.
 

mcs37

macrumors regular
Mar 2, 2003
187
7
Washington, DC
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.
 

valter

macrumors newbie
Jun 8, 2010
2
0
The only way I can get the trash to fully go away is to unplug the firewire to my drobo.

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.
 

Schtumple

macrumors 601
Jun 13, 2007
4,905
131
benkadams.com
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.

Restart btw, I had this issue, restarted after doing the big push, emptied again and it did it all fine.
 

unixperience

macrumors regular
Jul 21, 2010
235
5
asked for me to remove only unlocked items or all items, makes the empty trash sound, but it still has stuff in it


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
 

nippyjun

macrumors 68000
Jul 26, 2007
1,638
323
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.
 

bdodds1985

macrumors 6502a
Jul 18, 2011
867
0
Tartarus
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.
 

mamismo27

macrumors newbie
Apr 1, 2012
1
0
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.
 

hlewis1332

macrumors newbie
Apr 28, 2012
1
0
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.