]> gitweb.hhaalo.de Git - albentohandy.git/commitdiff
add: rsync cover.jpg to no symlinc
authorBastian Dehn <hhaalo@arcor.de>
Sat, 7 Jul 2018 18:49:05 +0000 (20:49 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 7 Jul 2018 18:49:05 +0000 (20:49 +0200)
albentohandy

index c50e55d6e92f840643ff9e6beda887c27cf51c1a..31cf3a8a26af9c68125c97e60f713f60846d9287 100755 (executable)
@@ -37,6 +37,8 @@ MakeSymlinksToWork() {
 
        for i in $(cat "$albumlist"); do
                cp --recursive --symbolic-link $musicdir/$i $workdir/
+               rsync -rptgoD --exclude="*.flac" --exclude="*.mp3" \
+                       --include="cover.jpg" $musicdir/$i $workdir/
        done
 
 }