| by Scott Kilroy | No comments

Compress the contents current directory, but compress the smallest files first

ls -s | awk NR!=1 | sort -n | awk '{print $2}' | xargs bzip2 -9v

Share Button

Leave a Reply