Skip to content
if you are Thanos(root), this command could delete half your files randomly
PowerShell Shell
Branch: master
Clone or download
Latest commit 0d0fbb9 Sep 21, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Invoke-Thanos.ps1 Improve safety. Aug 23, 2018
LICENSE Initial commit Aug 20, 2018 Update May 21, 2019 Update Aug 23, 2018 Fix spelling mistake Aug 12, 2019

This command could delete list half your files randomly.

don't use it at home and other places. this is a real gun, use it wisely...

feel free to post your story on, waiting.






  1. 支持mac系统,但是需要使用到gshuf命令,需要通过brew安装,安装命令如下:
    /usr/bin/ruby -e "$(curl -fsSL"
    brew install coreutils
  1. 此脚本只会列出当前目录一半的文件。并且。。。总之小心点。。。


Invokes Thanos to remove each object with probability 1/2. It works with files, registry, environment variables, functions, variables, aliases and certificates.

For help, use Get-Help .\Invoke-Thanos.ps1. Be sure to not actually invoke it!

You can’t perform that action at this time.