-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample_config
More file actions
27 lines (21 loc) · 930 Bytes
/
Copy pathexample_config
File metadata and controls
27 lines (21 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#################################################
## This is an example config file. ##
## Edit it and save it under ~/.twosync/ ##
#################################################
# You need exactly two root's
root = /path/to/dir
root = ssh://MYSERVER//path/to/dir
######################################################
## Use * as placeholder for zero or more characters ##
######################################################
# ignore file: If the filename match. The file won't be syncronised
# ignore path: If the path match. The path won't be syncronised. Path is only the relative part from root.
# ignore not file/path: Overwrites the ignore file/path parameter. So, you can unignore file's / folder's
ignore file = .*
ignore file = *~
# ignore file not fully copied
ignore file = .ts_*
ignore path = */.git
ignore path = */__pycache__
# ignore not file = *.pdf
# ignore not path = */always_sync