UNMAINTAINED

This commit is contained in:
hoellen
2018-01-22 22:30:12 +01:00
parent 792ab407e1
commit afd3d476fd
49 changed files with 0 additions and 192 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
(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 &