A short one-liner to keep the data compressed
One of the bash one-liners that I use after every successful project, yet never remember when needed, is for the simple task of looping through your folders, tar-zipping them and then removing the original folders.
for i in $(ls -d */); do
tar czf ${i%%/}.tar.gz $i && rm -r $i;
done