- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 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
Комментарии (1) RSS