themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to get a list of the largest files in a tar bundle

tar tvf bundle.tar.gz | awk -v size="$size" '$3 >= size {print $3" "$6}' | sort -t' ' -k1,1nr | head -10