Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
495 | bpr | 1 | #! /bin/sh |
2 | packs=$wims_exec_parm |
||
3 | adresse=packs.shtooka.net |
||
4 | echo $packs ; |
||
5 | |||
6 | cd scripts/data/shtooka ; |
||
7 | for i in $packs; do |
||
8 | echo $i ; |
||
9 | wget http://$adresse/$i/$i.mp3.tar; echo "wget $adresse/$i/$i.mp3.tar" ; |
||
10 | tar xf $i.mp3.tar; |
||
11 | mkdir -p $i; |
||
12 | rm -r $i/mp3; |
||
13 | mv home/www/packs/$i/mp3 $i/mp3; |
||
14 | rm -r home; rm $i.mp3.tar ; |
||
15 | cd $i; |
||
16 | ## mv index.tags.txt index.tags.txt_1 ; |
||
17 | ## wget http://$adresse/$i/ogg/index.tags.txt ; |
||
18 | ## echo "wget http://$adresse/$i/ogg/index.tags.txt "; |
||
19 | ## rm index.tags.txt_1 ; |
||
20 | cd .. ;\ |
||
21 | done ; |
||
22 | cd $w_wims_home/scripts/data/shtooka ; |
||
23 | ./mkindex ; |