Added config template

This commit is contained in:
matthias@arch 2022-03-13 15:01:30 +01:00
parent 70bf581231
commit bfdb80d04d

28
template Normal file
View File

@ -0,0 +1,28 @@
#!/bin/bash
# Template configuration for msynk
# Always append '/' to directories!
# If a path contains a space, escape the space or put the path in quotes.
sender=~/
receiver=/media/usb/backup/
declare -a paths=(\
dir1/
dir2/dir3
file1
file\ with\ space
"dir4/another file with space"
)
# this would mean "~/dir1" "~/dir2/dir3" "~/file1" "~/file\ with\ space" and "~/dir4/another file with space" would synced to /media/usb/backup/
# is you are syncing to a remote with ssh port 42
# receiver=user@foobar.com:/mnt/backup
# rsync_flags+=(--rsh="ssh -p 42)
# Use mkrypt with gpg for encryption: 0=no, 1=yes
use_encryption=0
# if you want to encrypt the files with the public key belonging to mymail@foobar.com:
# mkrypt_flags+=(--recipient "mymail@foobar.com")
# Date the config was last used (for --check-date)
# This will be set/updated when the msynk is run with this config.
date=