Skip to content

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

License

Notifications You must be signed in to change notification settings

zzzxcccx/Thanos.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 90.2%
  • Shell 9.8%