blob: 89d43c45c2e3ab0e245c503bea40952d08880f98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
# $Id$
# 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
|