Upload files to ''
This commit is contained in:
parent
20f0a7f15d
commit
2d88c0ea18
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
|
Loading…
x
Reference in New Issue
Block a user