Upload files to ''

This commit is contained in:
not_mine 2024-01-14 23:17:50 +00:00
parent 20f0a7f15d
commit 2d88c0ea18

7
zip.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
# Compress the input file repeatedly until it reaches 1 byte
IN="$1"
while [ $(wc -c "$IN" | cut -d ' ' -f 1) != "1" ]; do
zip "${IN}.zip" "$IN"
IN="${IN}.zip"
done