https://github.com/lxl66566/fuck-delete-it
Force delete file/folder on Windows, kill occupying processes.
https://github.com/lxl66566/fuck-delete-it
delete kill-process
Last synced: 9 months ago
JSON representation
Force delete file/folder on Windows, kill occupying processes.
- Host: GitHub
- URL: https://github.com/lxl66566/fuck-delete-it
- Owner: lxl66566
- License: mit
- Created: 2024-04-03T17:58:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-17T13:50:13.000Z (10 months ago)
- Last Synced: 2025-08-17T15:26:39.643Z (10 months ago)
- Topics: delete, kill-process
- Language: Rust
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fuck, delete it!
English | [简体中文](./docs/README.zh-CN.md)
Kill all processes occupying a file/folder and force deletion. [Inspiration](https://t.me/withabsolutex/1537)
Have you ever encountered a situation where you can't delete a file/folder because it's being used by another program? On Windows, this is annoying: you need to go to _Resource Monitor_, search for handles, find the process, and then terminate it. This program simplifies the process.
## Installation
There are several ways to install this program, and you can choose any of them.
- Download the file from [Releases](https://github.com/lxl66566/fuck-delete-it/releases), unzip it, and place it in `C:\Windows\System32` or any directory in the `Path` environment variable.
- Use [bpm](https://github.com/lxl66566/bpm):
```sh
bpm i fuck-delete-it -q
```
- Use [cargo-binstall](https://github.com/cargo-bins/cargo-binstall):
```sh
cargo binstall fuck-delete-it
```
## Usage
After installation, simply run the program, and it will add the `FUCK, DELETE IT!` option to the right-click context menu for files/folders. Just right-click the file/folder and select this menu item to force deletion.
You can also use the command line to delete:
```sh
fdi [PATH...] [-y] [-u]
```
Alternatively, you can directly drag the file/folder into the command line window, and the path will be automatically filled in.
For more information, check `fdi -h`.