If you don't know anything about JSON, please, spend some time on learning JSON structure.
Recommended sources:
#!/bin/bash | |
### FUNCTIONS TO CHANGE ### | |
MIN_AGE=5 | |
SYNCPART="/folder/hier/Medien" | |
UNRAID_FOLDER="/folder/on/UNRAID" | |
IP="192.168.178.4" | |
REMOTE_PATH="SYNOFOLDER/" | |
SOURCE="//pfad/" |
If you don't know anything about JSON, please, spend some time on learning JSON structure.
Recommended sources:
MLOG=/system/mount/logs/rclone-union.log | |
+ MLOG=/system/mount/logs/rclone-union.log | |
TMPRCLONE=/mnt/testcache | |
+ TMPRCLONE=/mnt/testcache | |
cp -rv /app/rclone/rclone.conf /root/.config/rclone/ | |
+ cp -rv /app/rclone/rclone.conf /root/.config/rclone/ | |
'/app/rclone/rclone.conf' -> '/root/.config/rclone/rclone.conf' | |
screen -d -m bash -c "rclone rcd --rc-user=${RC_USER} --rc-pass=${RC_PASSWORD} --cache-dir=${TMPRCLONE}"; |
#!/usr/bin/with-contenv bash | |
# shellcheck shell=bash | |
jq --version >/dev/null 2>&1 | |
jq_ok=$? | |
[[ "$jq_ok" -eq 127 ]] && \ | |
echo "fatal: jq not installed || installing now" && apt install jq -yqq | |
SDISCORD=/opt/scripts/discord.sh | |
DISCORD_WEBHOOK_URL= |
#!/usr/bin/with-contenv bash | |
# shellcheck shell=bash | |
if pidof -o %PPID -x "$0"; then | |
exit 1 | |
fi | |
CONFIG=rclone.conf | |
SRC=server | |
DST=backupserver |
#NO CRYPT | |
[${NAME}] | |
type = drive | |
scope = drive | |
server_side_across_configs = true | |
team_drive = TDID | |
service_account_file = /system/mount/keys/GDSA1.json | |
service_account_file_path = /system/mount/keys/ | |
[tcrypt-${NAME}] |
#!/usr/bin/with-contenv bash | |
# shellcheck shell=bash | |
# Copyright (c) 2020, MrDoob | |
# All rights reserved. | |
### $1 > Traktarr or Traktarr4k ( name of the app ) | |
### $2 > movies or shows | |
### $3 > https lists or trakt.tv popular or box-office | |
PROG=$1 |
version: '3' | |
services: | |
plex: | |
hostname: 'plex' | |
container_name: 'plex' | |
environment: | |
- 'PGID=1000' | |
- 'PUID=1000' | |
- 'TZ=UTC' |
#/bin/bash | |
traktarr shows -t https://trakt.tv/users/porkie16/lists/hbo-network-65 | |
traktarr shows -t https://trakt.tv/users/porkie16/lists/tv-comedy-65-rating | |
traktarr shows -t https://trakt.tv/users/porkie16/lists/tv-horror-65-rating | |
traktarr shows -t https://trakt.tv/users/porkie16/lists/tv-drama-65-rating | |
traktarr shows -t https://trakt.tv/users/porkie16/lists/tv-animation-kids-only-65-rating | |
traktarr shows -t https://trakt.tv/users/porkie16/lists/tv-anime-65-rating | |
traktarr shows -t https://trakt.tv/users/porkie16/lists/tv-superhero-65-rating | |
traktarr shows -t https://trakt.tv/users/porkie16/lists/tv-crime-65-rating |
#!/usr/bin/with-contenv bash | |
# shellcheck shell=bash | |
# Copyright (c) 2020, MrDoob | |
# All rights reserved. | |
######## FUNCTIONS ########## | |
## adjust the folder downloadpath=/move | |
## adjust the line TARGET_FOLDER ;) | |
downloadpath=/move | |
cleaning() { |