rtorrent-flood: alpine 3.6, fixes, libzen, chromaprint

This commit is contained in:
Wonderfall
2017-06-04 19:35:55 +02:00
parent bd018514ae
commit 74934330e1
5 changed files with 71 additions and 17 deletions

View File

@ -1,3 +1,11 @@
#!/bin/sh
/filebot/filebot.sh -script fn:cleaner /data/Media
(sleep 10; find /data/Media -type l | while read in; do
file "$in" | grep "broken symbolic link"
if [ $? -ne 1 ]; then
echo "Delete $in"
rm -f "$in"
fi
done
find /data/Media/ -type d -empty -exec rm -r {} \;) >> /tmp/postrm.log &