dsync.conf 1.5 KB

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