mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 12:36:42 +01:00
add parse-blueray sh script, and backup server-dockers config
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user