add syncNC cmd to rename_camera_folder

This commit is contained in:
Lucas Serverhost authored and Lucas Vivohost committed 2026-09-14 12:43:38 +02:00
1 parent 507ff7347d
commit cc1f9653de
2 files changed
+21 -10

No files matched your search

+3 -2
View File
@@ -2,8 +2,9 @@
PW=$(cat /home/lucas/.PW)
FOLDER=/torrent/camera
SERVER="https://someoneslinux.ddns.net"
nextcloudcmd --trust --user lucas --password ${PW} --path Media/Pictures/Camera ${FOLDER} ${SERVER} 1>/dev/null 2>&1
export PYTHONPATH=/home/lucas/scripts
syncNC -c
/home/lucas/.venv_general/bin/python3 /home/lucas/scripts/serverhost/rename_camera_folder.py ${FOLDER}
nextcloudcmd --trust --user lucas --password ${PW} --path Media/Pictures/Camera ${FOLDER} ${SERVER} 1>/dev/null 2>&1
syncNC -c