blob: b160ec30249977a7e21a222cfa7a5d902e2502ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
# $Id$
# Public domain. Originally written 2008, Karl Berry.
# If it ever matters, we can do this right by reading tlpdb.
test $# -eq 0 && set - /home/ftp/texlive/tlnet/tldev/tlpkg
cd "$1" || exit 1
for pkgtar in `ls *.tar.lzma | egrep -v '\..*\.tar\.lzma$'`; do
pkg=`echo $pkgtar | sed 's/\.tar\.lzma$//'`
size=`cat $pkg.*tar.lzma | wc -c`
size=`expr $size / 1024`
printf "%6d %s\n" $size "$pkg"
done | sort -nr
|