author | Stiletto <blasux@blasux.ru> |
Sat, 18 Jun 2011 16:12:00 +0400 | |
changeset 8 | c9b4af5f3122 |
parent 6 | f0c87fb62b66 |
permissions | -rwxr-xr-x |
6
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
diff
changeset
|
1 |
#!/bin/bash |
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
diff
changeset
|
2 |
PROGDIR=$(dirname $(readlink -f $0)) |
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
diff
changeset
|
3 |
cd "$PROGDIR" |
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
diff
changeset
|
4 |
for x in /home/media/music /home/common/music /home/stil/r/anubis/common/music /home/stil/r/anubis/common/cls/Boa_n_SEL; do |
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
diff
changeset
|
5 |
./scanscript.sh "$x" | ./cos-dbupdate fuck |
f0c87fb62b66
example updater, two metadata extractors
Stiletto <blasux@blasux.ru>
parents:
diff
changeset
|
6 |
done |