#! /bin/sh # by Kirk Waingrow 12/22 TMPFILE="/tmp/tmp.lst" clear; echo echo "ZiptIt will recusively compress all files from the current directory down: " echo pwd echo; echo -n "Hit [CTRL-C] now or [Return] to continue: " read dummy find -type f | sort -n > $TMPFILE cat $TMPFILE | while read line do echo $line nice -n 30 'bzip2 -z $line' done