Created
May 7, 2020 23:56
-
-
Save nikp123/20ff3cc9e2c9b9c1014b5bb5c8734c48 to your computer and use it in GitHub Desktop.
ChatDestroyer - A script for your immoral deeds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
FILE=$1 | |
MAX_SIZE=$2 | |
rm x* | |
split -b $2 $1 | |
sleep 1 | |
for i in x??; do | |
cat $i | xclip -selection c; | |
sleep 1 | |
xdotool key ctrl+v; | |
xdotool key Return; | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment