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

    • 2TB WD_Black SN7100 PCIe Gen4 NVMe SSD drops to its lowest price in over three months by Fiza Ali Amazon is currently offering the 2TB WD_Black SN7100 internal solid-state drive at its lowest price in over three months, so you may want to check it out, if you have been considering a storage upgrade, before the deal dries up (purchase link is toward the end of the article). Featuring a PCIe Gen 4.0 interface and M.2 2280 form factor, the SN7100 promises to deliver sequential read speeds of up to 7,250MB/s and sequential write speeds reaching 6,900MB/s, offering as much as a 35% improvement in performance compared with the previous generation. It also achieves random read speeds of 1,000,000 IOPS and random write speeds of 1,400,000 IOPS. The drive uses Western Digital’s TLC 3D NAND technology for reliable performance and is further supported by a five-year limited warranty. It also offers strong endurance, rated at up to 1,200TBW, making it suitable for demanding workloads such as gaming, content creation, and high-speed recording. Moreover, its DRAM-less architecture claims to improve power efficiency (the SSD relies on system memory for caching via HMB), while the WD_Black Dashboard software enables users to monitor drive health, install firmware updates, and activate Game Mode for potentially better performance. Finally, it operates within an operating temperature range of 0°C to 85°C, and can withstand storage temperatures from -40°C to 85°C. 2TB WD_Black SN7100 PCIe Gen4 NVMe SSD: $242.96 (Amazon US) Check this deal out if you want a 4TB option. Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
    • Hopefully this will fix the issue of no sound I have since last months stupid, and non-removable, Microsoft Corporation AudioProcessingObject Driver Update (1.0.3.56670)
    • It IS confusing! What channel are you in on each device? I'm guessing your 16GB device is on Experimental (formerly known as Dev) and your 128GB is on Beta.
    • 100 for the base game , 120 for pre release with bonus unlocked content (a pair of boil washed underpants for Trevor)
  • Recent Achievements

    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
    • One Month Later
      Genuinetonerink- Dubai earned a badge
      One Month Later
    • Week One Done
      Genuinetonerink- Dubai earned a badge
      Week One Done
    • One Year In
      hhgygy earned a badge
      One Year In
    • Week One Done
      AMV earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      514
    2. 2
      +Edouard
      163
    3. 3
      PsYcHoKiLLa
      86
    4. 4
      Steven P.
      74
    5. 5
      Michael Scrip
      73
  • Tell a friend

    Love Neowin? Tell a friend!