Vanguard media stack: ingest, copyparty, Syncthing, normalize sweep, Authentik, Jellyfin + Vanguard Metadata plugin, MariaDB, Gitea, bot runtime

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
2026-10-30 15:43:30 -05:00
commit c602a6ff52
66 changed files with 4229 additions and 0 deletions

10
bin/trash-purge.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Delete dumped nights older than 3 days; drop empty dirs; clean stale markers.
set -uo pipefail
TRASH=/srv/media/trash
MARK=/srv/media/.markers
[[ -d $TRASH ]] || exit 0
find "$TRASH" -mindepth 1 -type f -mtime +3 -delete
find "$TRASH" -mindepth 1 -type d -empty -delete
find "$MARK" -type f -mtime +30 -delete 2>/dev/null
echo "$(date '+%F %T') trash purge done"