#delete #windows #kill #processes #force #file-folder #occupying

app fuck-delete-it

Force delete file/folder on Windows, kill occupying processes

1 unstable release

0.1.0 Apr 4, 2024

#429 in Filesystem

Download history 69/week @ 2024-03-29 45/week @ 2024-04-05 1/week @ 2024-04-12

115 downloads per month

MIT/Apache

10KB
156 lines

Fuck, delete it!

English | 简体中文

Kill all processes occupying a file/folder, and enforce deletion. Inspired by

Have you ever encountered a situation where you can't delete a file/folder because it's being used by another program? This can be annoying on Windows: you may have to search for handles in the Resource Monitor, find the process, and then kill it. This program simplifies that.

Installation

There are several different methods to install this program, and you can choose any of them.

  • Download the file from Releases and unzip it, then place it in C:\Windows\System32 or any directory that exists in your Path.
  • Use bpm:
    bpm i fuck-delete-it -b fdi -q
    
  • Use scoop:
    scoop install https://raw.githubusercontent.com/lxl66566/fuck-delete-it/main/fuck-delete-it.json
    
  • Use cargo:
    cargo install fuck-delete-it
    

Usage

Command line:

fdi <PATH> [-y]

You can also directly drag and drop the file/folder into the command line window, and the path will be automatically filled in.

For more information, please check fdi -h.

Dependencies

~141MB
~2.5M SLoC