From 286e5fa9502eeb255dc38aba1549713b92c9781f Mon Sep 17 00:00:00 2001 From: Lucas Faber Date: Wed, 30 Sep 2026 15:21:46 +0000 Subject: [PATCH] move convert heic script --- convert_heic.sh => media handling/convert_heic.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename convert_heic.sh => media handling/convert_heic.sh (94%) diff --git a/convert_heic.sh b/media handling/convert_heic.sh similarity index 94% rename from convert_heic.sh rename to media handling/convert_heic.sh index e06eaa7..9678bfe 100755 --- a/convert_heic.sh +++ b/media handling/convert_heic.sh @@ -2,7 +2,7 @@ set -euo pipefail shopt -s nullglob nocaseglob -LOGFILE="/home/lucas/.LOG/convertheic.log" +LOGFILE="/home/lucas/logs/convertheic.log" mkdir -p "$(dirname "$LOGFILE")" exec >>"$LOGFILE" 2>&1 @@ -166,13 +166,13 @@ process_file() { } -HOSTNAME_EXPECTED="serverhost" -SOURCE_DIR="/torrent/alina/Dropfolder" -TARGET_DIR="/torrent/camera" +HOSTNAME_EXPECTED="mediahost" +SOURCE_DIR="/data/nextcloud/syncuser/alina/Dropfolder" +TARGET_DIR="/data/nextcloud/syncuser/camera" # If running on serverhost, perform initial sync if [[ "$(hostname)" == "$HOSTNAME_EXPECTED" ]]; then - /home/lucas/scripts/serverhost/syncNC.sh -d -c + syncNC -d -c cd "$SOURCE_DIR" || exit 1 fi @@ -203,6 +203,6 @@ if [[ "$(hostname)" == "$HOSTNAME_EXPECTED" ]]; then done shopt -u nullglob - /home/lucas/scripts/serverhost/syncNC.sh -d -c + syncNC -d -c fi