blob: abd8abee316262aa34abb284dd1906f3375ea09a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
cd /texlive/Master
for j in 1 2 3
do
for i in `find /texlive/Master/texmf-dist/lists/systems$j -type f -print`
do
S=p_`echo $i | sed -e 's/.*systems..//' -e 's/\.//g' -e 's/-/_/g'`_du
tar --create --totals -f /tmp/XX -T $i >& /tmp/YY
grep Total /tmp/YY | tail -1 | awk '{print $4}' | sed 's/...$//' > /tmp/XX
# -> p_sparc_solaris25_du='7065'
echo $S$j=\'`cat /tmp/XX`\'
rm /tmp/YY
rm /tmp/XX
done
done
|