-
Notifications
You must be signed in to change notification settings - Fork 0
/
sc_group
16 lines (16 loc) · 839 Bytes
/
sc_group
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# multiple directories handler example
/usr/local/sbin/sc_handler --source_dir=/path/to/Documents \
--shadow_dir=/path/to/shadow_copies/Documents \
--owner=cai \
--file_ttl=365 \
--max_copies=5 \
--compress_alg=7z &
# ATTENTION! '&' symbol need to be placed on the end of all sc_handler commands except last one!
/usr/local/sbin/sc_handler --source_dir=/path/to/Repo \
--shadow_dir=/path/to/shadow_copies/Repo \
--owner=cai \
--file_ttl=365 \
--max_copies=5 \
--compress_alg=none
# ATTENTION! You don't need '&' symbol at the end of last sc_handler command!