myup.sh
author Stiletto <blasux@blasux.ru>
Sat, 12 Feb 2011 17:03:08 +0300
changeset 6 f0c87fb62b66
permissions -rwxr-xr-x
example updater, two metadata extractors
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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