]> git.decadent.org.uk Git - dak.git/blob - tools/dsync-0.0/doc/examples/dsync.conf
Added another tool used in dak (and placed nowhere else), dsync
[dak.git] / tools / dsync-0.0 / doc / examples / dsync.conf
1 /* This dsync configuration file is a sample that contains all options.
2    It is not ment to be used as is.
3 */
4
5 /* Each module has a set of configuration parameters. The module to use
6    is specified on the command line. */
7 module::Foo 
8 {
9    // The base directory for the module
10    Root "/home/ftp/foo";
11    
12    // Here we specify options that control generation of the file list
13    FileList
14    {
15       // Generation options
16       MD5-Hashes "yes";
17       Hard-Links "yes";
18       Permissions "yes";
19       Ownership "yes";
20       Ordering "depth";
21       
22       /* The filter list. Items excluded by this filter are not inclued
23          in the file list */
24       Filter 
25       {
26          "+ *";
27       };
28       
29       /* The prefer filter list. Items included in the filter are prefered
30          over items exclued in this filter. This effects the order directories
31          are listed. All directories included by the filter are listed before 
32          any directories exclued  by the filter. The filter only matche
33          directories, not files. */
34       Prefer-Filter
35       {
36          "+ *";
37       };
38
39       // Use the specified pre-generated file list, relative to the root,
40       PreGenerated "dsync.list";
41    };
42    
43    // Here we specify options specific to the dsync-flist program
44    FList
45    {
46       /* This filter is used for archive maintinance, files Excluded by 
47          this filter are removed from the archive, directories are never
48          passed through */
49       Clean-Filter
50       {
51          "- core";
52          "+";
53       };
54    };
55 };