mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-09-18 13:07:06 +00:00
boring-nginx
matomo
nextcloud
nginx-php
privatebin
searx
unmaintained
boinc
cowrie
cryptpad
freshrss
ghost
isso
kippo-graph
libresonic
lutim
lychee
mastodon
mediawiki
nginx
parsoid
pgbouncer
rainloop
reverse
rtorrent-flood
s6.d
Dockerfile
README.md
config.js
postdl
postrm
rtorrent.rc
run.sh
rutorrent
tor
LICENSE
README.md
12 lines
270 B
Bash
12 lines
270 B
Bash
#!/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 &
|