Deletion of folder with two milions files
Moderators: Hacker, petermad, Stefan2, white
Deletion of folder with two milions files
Bug occured during deletion of folder with 2kk+ files. After removing 2kk (two milons) files percentage value equals 100%. With next files we got 101%, 102% etc.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Deletion of folder with two milions files
Normally this happens when there are more files during the delete phase than there were when counting. Did anything in the background continue to create files in that folder?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Deletion of folder with two milions files
No, there was no background process. But TC was able to count files(before deletion) more quickly than W10, maybe in that place is some bug/assumption hiding?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Deletion of folder with two milions files
Do you use the tool "Everything"?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Deletion of folder with two milions files
No, but what you need? Is there any other message channel where we can communicate more efficiently?
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Deletion of folder with two milions files
I asked because when getting the numbers via Everything, they may be outdated.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Deletion of folder with two milions files
In that case I do not use Everything. I was unable to open this folder in win explorer, and I am not sure about opening in TC. After all there was 6kk files in this folder and TC deleted all (300%+).
Re: Deletion of folder with two milions files
Sounds like some integer overflow to me. Integer is 2^31 (2,147,483,648). 6 million files is three times that (300 %).
Roman
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: Deletion of folder with two milions files
2Hacker
Huh? 2^31 is 2.1 billion, not 2.1 million.
Regards
Dalai
Huh? 2^31 is 2.1 billion, not 2.1 million.
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: Deletion of folder with two milions files
Dalai,
Uhhh.... right... well, move along, there is nothing to see here. This is not the explanation you're looking for *waves hand*.
Roman
Uhhh.... right... well, move along, there is nothing to see here. This is not the explanation you're looking for *waves hand*.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.