-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
23 lines (19 loc) · 947 Bytes
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
source: "/home/user/Downloads",
// files matching any 'ignore' pattern defined below will always be ignored
ignore: [
// chromium temporary files
"\\.crdownload$"
],
// incoming files will be copied to every location where the filename matches the pattern
// WARNING: after copying the initial file gets removed from the source location
routes:[
// files that start with "project1." will be copied to the working directory of 'project1'
{ pattern: "^project1\\.", destination: "/home/user/project1/diagrams" },
// in the patterns below ".x" is used as a flag to indicate that the file should be moved
// files that contain ".x.", like "foo.x.doc", will be copied to a synced location
{ pattern: "\\.x\\.", destination: "/home/user/Dropbox/all-exports" },
// files that end with ".x" will be copied to a synced location
{ pattern: "\\.x$", destination: "/home/user/Dropbox/all-exports" }
]
}