12345678910111213141516171819 |
- #!/bin/bash
- pvt_olustur(){
- if [ ! -f paket.vt ];then
- touch paket.vt
- fi
- if [ -f "paket.vt" ];then
- mv "paket.vt" "paket.vt.eski"
- fi
- for paket in `ls *.mps.lz`
- do
- paketad="`echo $paket|cut -d "#" -f1`"
- shaek=`sha1sum $paket`
-
- echo $paketad $shaek >> paket.vt
- done
- }
- pvt_olustur
|