Upload files to ''
This commit is contained in:
7
zip.sh
Normal file
7
zip.sh
Normal 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
|
Reference in New Issue
Block a user