FullSync Manual - RuleSets


      Currently there are two kinds of rule sets supported: simple rule sets and advanced rule sets.


      For basic operations the simple rule set is enough, it allows you to define ignore and accept patterns (actually regular expressions) and will operate in a default way.

      So a simple regular expression for matching specific file endings looks like this: .+\.txt or .+\.(txt|jpg|tmp) (for matching multiple endings).
      If you just want to match complete file/directory names use this: DirectoryName or for multiple names (DirectoryName1|DirectoryName2|file\.extension). To match just the beginning or ending use the following, which is quite much the same as matching endings: prefix.+ or .+suffix (note: + means there must be at least one character. use * instead to make it match no character as well.).
      Until there is a more userfriendly way available, please use google to find out more about regular expressions.


      Advanced rule sets allow you to set rules more detailed, like setting compare conditions, allowing deletion and it allows you to overwrite these rules in each directory using special files. At the moment, the format of the file is very old and there are many options no longer supported, but still you have the possibilty to overwrite ignore and accept patterns per directory. To use the advanced rule set, simply copy the sample.syncrules file to your source directory and rename it to .syncrules (on windows you may need to use an editor or some other filemanager to do this as the explorer does not like names beginning with a dot). This will be the initial rule set file containing one rule set named "UPLOAD". this must be named in the advanced rule set options of the profile. To overwrite ignore or accept (former "take") rules, just put a file called .syncrules into the directory and copy the start and end rule set lines into the file. now you can define a new ignore rule by adding a line DEFINE IGNORE "<pattern>".





      Back to Home