Skip to content

Quickly delete large folders on windows , such as `node_modules`------- 快速删除大型文件夹, 比如 `node_modules`

Notifications You must be signed in to change notification settings

xxxxue/my-rm-dir

Repository files navigation

⚡ MyRmDir

Quickly delete large folders/files, such as node_modules with thousands of small files

No need to put in recycle bin

No analysis directory required

No need for real-time display to GUI

🚀 fast !!

Can be added to the Windows right-click menu registry, the operation is more convenient

📦 Install

npm install -g my-rm-dir
my-rm-dir .\node_modules

Speed test

The following test data comes from removing the same node_modules

Name Time consumed (s)
NodeJS 15
PowerShell 28.66
normal delete 45.55

Register to right-click menu

It is recommended to use ContextMenuManager to manage the right-click menu, and the visual operation is more convenient.

Directly create a new item, select the icon, and set the command.

Install

  • Download files in release
  • Execute where.exe my-rm-dir in cmd to get local address
  • Open script/install.reg in Notepad
  • Modify E:\\Software\\NodeJs\\my-rm-dir to local address. ( \\ is very important)
  • Save after modification, and double-click to execute install.reg

Uninstall

Double-click uninstall.reg in the script directory

Screenshots

image-20220915214510812

image-20220917193123079

About

Quickly delete large folders on windows , such as `node_modules`------- 快速删除大型文件夹, 比如 `node_modules`

Resources

Stars

Watchers

Forks

Packages

No packages published