Tdarr input and output script

This commit is contained in:
RealStickman 2023-01-28 17:23:50 +01:00
parent 11a1ef56ec
commit e634a41a67

View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
# INPUT
# To upload new files, symlink/copy them to /mnt/storage/MediaLibrary/_tdarr-input/
# OUTPUT
# Output from tdarr will be downloaded to /mnt/storage/MediaLibrary/_tdarr-output/
echo "uploading new Content"
rsync -uvrL --progress --bwlimit=2M /mnt/storage/MediaLibrary/_tdarr-input/ exu@172.18.50.109:/mnt/tdarrshare/tdarr-share/media/input/
echo "downloading conversions"
rsync -uvr --progress --bwlimit=2M exu@172.18.50.109:/mnt/tdarrshare/tdarr-share/media/output/ /mnt/storage/MediaLibrary/_tdarr-output/