 #!/bin/sh
[[ -n "$1" ]] || { echo "Usage: sh compresslarge [WHERE] [MINSIZEinKB]"; exit 0 ; }

find "$1" -type f -size +"$2"k |
while read line   
do  
    echo "Compressing $line"
    bzip2 $line
done

