- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
#!/bin/bash
while :
do
declare -a fls;
c=0;
z=0
for ff in `find $1`
do
for tf in `du $ff | gawk '{ print $1 }'`
do
fl=`echo $tf | gawk '{ print $1 }'`
if [ "$tf" -eq "$z" ]; then
echo tf $tf
echo ff $ff
fls[$c]=$ff;
rm $ff
fi
done
done
echo ${fls[*]}
sleep 1m;
done
AliceGoth 09.04.2011 19:26 # +1