mps.otokurlisteden

This commit is contained in:
mahmutov 2016-08-04 07:09:23 +00:00
parent d0132c7d76
commit d5da5d3e5e
1 changed files with 9 additions and 2 deletions

11
bin/mps
View File

@ -244,14 +244,21 @@ paket_kur_oto(){
} }
paket_kur_oto_zorla(){ paket_kur_oto_zorla(){
local kpkt pkt pak local kpkt pkt pak kliste
for kpkt in `cat $1`;do if [ "$1" = "-H" ];then
ls *.mps.lz > "otokur.list"
kliste="otokur.list"
else
kliste="$1"
fi
for kpkt in `cat $kliste`;do
for pkt in `ls $kpkt* | cut -d'#' -f1`;do for pkt in `ls $kpkt* | cut -d'#' -f1`;do
pak=`ls "$pkt#"*` pak=`ls "$pkt#"*`
paket_sil "$pkt" "evet" paket_sil "$pkt" "evet"
mps -k "$pak" mps -k "$pak"
done done
done done
rm -rf otokur.list
} }
paket_kur_liste(){ paket_kur_liste(){