add parse-blueray sh script, and backup server-dockers config

This commit is contained in:
2026-02-08 18:08:54 +01:00
parent a96be1a122
commit 88f116f1cb
4 changed files with 65 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
SERVER=$1
PASSW=$2
PASSW=$2 # the password that appears at the configs to be replaced by $NEW_PASSW
NEW_PASSW="YOURPASSWORDHERE"
if [ "$#" -ne 2 ]; then
@@ -9,7 +9,7 @@ if [ "$#" -ne 2 ]; then
exit 1
fi
rsync -avz --progress --exclude={'*.log','emby','jellyfin','qbittorrent','slskd','wallabag','prowlarr','sonarr','radarr','bazarr'} $SERVER:~/server-dockers/docker-compose.yml $SERVER:/mnt/usb/configurations ./
rsync -avz --progress --exclude={'*.log','emby','jellyfin','qbittorrent','slskd','wallabag','prowlarr','sonarr','radarr','bazarr','qui'} $SERVER:~/server-dockers/docker-compose.yml $SERVER:/mnt/usb/configurations ./
# replace PASSW by NEW_PASSW (also in subdirs)
find . -type f -exec \