19 lines
291 B
Bash
Executable File
19 lines
291 B
Bash
Executable File
#!/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`
|
|
do
|
|
paketad="`echo $paket|cut -d "#" -f1`"
|
|
shaek=`sha1sum $paket`
|
|
|
|
echo $paketad $shaek >> paket.vt
|
|
done
|
|
}
|
|
|
|
pvt_olustur
|