#!/bin/bash # Target server. Comment if target folder is on the same machine! TOSSH="192.168.0.5" # port to use for ssh on the server. SSHPORT=10110 # User for the server. SSHUSER="myuser" # target folder on the server. SYNC_TARGET="/srv/Photos/" SYNC_EXTRA="/srv/Photos/duplicate/" # Extensions of the files to be copied. EXTENSIONS="*.jpg *.JPG *.mp4 *.MP4" # Prefixes replacing the to replace with REPLACE="IMG VID"; # What to replace PREFIXES="USER USERVid"; # replace with # Max number of parallel copy processes. THRESHOLD=9 # Overwrite the default log level of the photosync script. # Valid levels are LLDebug, LLInfo, LLWarning, LLError, LLMdtry, LLMute. Log_Level=$LLInfo