#!/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