• Stars
    star
    2,914
  • Rank 15,561 (Top 0.4 %)
  • Language
    PowerShell
  • License
    MIT License
  • Created over 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

if you are Thanos(root), this command could delete half your files randomly

Thanos.sh

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 Story.md, waiting.

灭霸脚本

这个命令会随机“删掉”您一半的文件。。

请不要在家里或其他地方使用。这是真家伙,要小心…

你可以在Story.md文件里发布你的故事,期待中…

特别说明

  1. 支持mac系统,但是需要使用到gshuf命令,需要通过brew安装,安装命令如下:
    #安装brew
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    #安装gshuf
    brew install coreutils
  1. 此脚本只显示删除文件的数量。并且。。。总之小心点。。。

Invoke-Thanos.ps1

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!