Best way to delete over 2 mm files?


Recommended Posts

I had no idea an app (epg123)  had created so many files in it's cached folder.   It's over 2mm files.

 

The problem with the files is that it I didn't realize File History Backup was enabled on my HTPC back to my home server.  I now have these files duplicated across my pool of drives. 

 

I tried using rmdir first without realizing that the there were that many files within this sub directory.  That was several hours ago.   Is there any way I can get out of this mess?

Link to comment
https://www.neowin.net/forum/topic/1320112-best-way-to-delete-over-2-mm-files/
Share on other sites

I'm not sure if that's going to do it.  Any type of process via Windows took a considerable amount of time.   Hell, it took over 10 minutes just to get the count. 

 

I'd prefer a cmd prompt way which is why I thought rmdir would do it but I'm not sure how quickly it's deleting either.  They are very small files so I can only imagine the amount of thrashing occuring

You could try PowerShell, as it's 64bit and more modern it might run faster, but any way you work it it's gonna take a fair bit of time.

 

Remove-Item c:\directory\* -recurse

Is the command (-recurse will delete all child items as well).

For future reference, this is what I use.

 

There was a temporary internet file folder one time that had 3 million files. So I looked online and found this

 

del /f/s/q content.ie5 > nul 

 

Replace content.ie5 with whatever folder you want to delete the contents of

On 1/22/2017 at 10:33 PM, AndyD said:

I had no idea an app (epg123)  had created so many files in it's cached folder.   It's over 2mm files.

what unit of measurement is mm (besides millimeter)? LOL

  • Like 1

Hello,

 

I have seen it used as an abbreviation for million or millions, most often used by people in the publishing, marketing or public relations area.  As far as measurements, there's megameter for distances, which is abbreviated as Mm and is 1,000km, and millimolars for concentrations, which is abbreviated as mM and is 0.001 molars.  In the fabric industry, there's mommes for weighing silk, which is abbreviated as mmM.M. is also used as an abbreviation for Metro Manila, the capital (and surrounding suburbs) of the Philippines, so if someone were talking about M.M.'s population or territory, it could be used as a value in that context.  For example:  Both M.M. and L.A.¹ have populations of about 12.8 million people.

 

Regards,

 

Aryeh Goretsky

¹The Greater Los Angeles Metropolitan Area.

 

20 hours ago, oldtimefighter said:

what unit of measurement is mm (besides millimeter)? LOL

 

Thanks for the other methods guys!

 

mm - is used quite frequently in Finance to represent millions :)

 

https://en.wikipedia.org/wiki/Million

 

"One million (1,000,000) or one thousand thousand is the natural number following 999,999 and preceding 1,000,001. The word is derived from the early Italian millione (milione in modern Italian), from mille, "thousand", plus the augmentative suffix -one.[1] It is commonly abbreviated as m[2][3][4] or M;[5][6] further MM ("thousand thousands", from Latin "Mille"; not to be confused with the Roman numeral MM = 2,000), mm, or mn in financial contexts."

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Hasleo Disk Clone 5.8.2.1 by Razvan Serea Hasleo Disk Clone is a free and all-in-one disk cloning software for Windows 11/10/8/7/Vista and Windows Server that can help you migrate Windows OS to another disk, clone one disk to another disk or clone one partition to another location quickly and efficiently. Completely Free Windows Migration and Disk/Partition Cloning Software Migrate Windows from one disk to another without reinstalling Windows, apps. Clone one disk to another and makes the data on 2 disks are exactly the same. Clone a partition to another location without losing any data. Easily adjust the size and location of the destination partition. Convert MBR to GPT or convert GPT to MBR by cloning. Creation of Windows PE emergency disk. Extremely fast cloning speed and multi-language support. Supported OS: Windows Vista/Server 2008 or later, fully compatible with GPT and UEFI. Hasleo Disk Clone 5.8.2.1 changelog: Fixed an issue that caused disk enumeration to fail Fixed an issue where WinPE created under Windows ARM64 26H1 did not work properly Download: Hasleo Disk Clone 5.8.2.1 | 32.3 MB (Freeware) Link: Hasleo Disk Clone Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • This got me thinking, would you rather a self driving car prioritise protecting its passengers or everyone else? I'd choose the one that keeps me and my kids safest. At some point, these cars have to make those choices already, don't they? Wonder if we have a way to find out what way they lean.
    • The proportion (or number of iterations) has nothing to with this aspect of Copyright I am describing. In short, it doesn't matter how many times the manager tells you to change something or how. Your work product is always YOURS until and unless you then assign that to the person representing the client/company, usually for financial compensation -- either in salary or as a subcontract work for hire payment. if iterations determined copyright, then businesses would have learned to just keep making changes until they could claim they owned the copyright, without having to compensate the artist for their work. And that would be BAD. The only place where the amount of changes does have a role is in how much does a human modify a previous public domain work (from any source) before it is considered fair use or their own work, etc. For example, if a human makes substantial changes to a public domain (re: AI, by definition) work, then they can then claim that derivative work as their own...but NEVER the original version, of course. That's why anyone can make a movie about Dracula, for example, as long as it is based on the public domain novel, but not if they take new ideas from copyrighted movies made afterwards. As one of the people who personally advised the US Copyright Office on their recent ruling on these very issues, be assured that I specifically used the terminology precisely -- though I made it simple enough for laymen to understand it. If I made this confusing by doing so, I apologize. But, to be clear regarding your assumption that I would agree to your second statement that I quoted above -- the answer is NO. If AI does the work, no matter how much "direction" you give it, it cannot be copyrighted. All AI generated content is in the Public Domain and therefore the copyright cannot be assigned to ANYONE, even you -- until and unless substantial modifications are made to it BY A HUMAN BEING (yourself or a contracted artist/writer/etc.) and then that copyright on the derivative work is legally (in writing) transferred to you. This is a critical distinction. And it is important that people, especially AI sloppers, understand this. For example, YouTube is not paying AI slop generators for the copyright, etc. of their AI slop. What YouTube is doing is sharing AD REVENUE for permission to publish your AI slop. Copyright/ownership/rights never come into it. Importantly, that means that anyone can copy any AI slopware on YouTube, etc. and rehost it anywhere they want, even back on YouTube, and there is nothing legal that YouTube can do about it with regards to copyright protections, ownership, DMCA, etc. Anyone is legally free to use any AI slopware in any way they want. When this ruling was pending, I warned Disney legal of all of this before they did their OpenAI deal -- that it would literally dilute their entire IP portfolio forever. They ignored that warning for the PR and stock bump. But that is why, when the ruling came down last year, Disney quickly extricated themselves from that OpenAI deal, even eating the initial upfront fees -- followed closely by OpenAI ending their entire AI video generating business model. They adjusted their PR release dates to make this less obvious to shareholders, of course. Phew. I hope that this clears up the key distinctions for you and anyone reading. If you have any additional questions or even hypotheticals about AI and Copyright, please feel free to ask.
    • Each of the devices displayed on this page now has a little volume meter next to it to show if there is audio actively playing. About time.
    • Owing to the nature of Windows feature enablement updates, it was distributed over Windows Update services as a complete system upgrade rather than as an ordinary cumulative update
  • Recent Achievements

    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • One Year In
      Skeet Campbell earned a badge
      One Year In
    • One Month Later
      Sharbel earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      558
    2. 2
      +Edouard
      188
    3. 3
      Michael Scrip
      78
    4. 4
      PsYcHoKiLLa
      74
    5. 5
      neufuse
      71
  • Tell a friend

    Love Neowin? Tell a friend!