Differences
This shows you the differences between the selected revisions of the page.
2018-10-16 | 2018-11-09 | ||
5.14 Time constraints can be set to a start of an interval. + Redefined yesterday/today keywords using the S suffix description (martin) | footnote after punctuation (martin) | ||
Line 69: | Line 69: | ||
Note that when using [[ui_editmask|File Mask dialog]], the trailing slash for directory masks is appended automatically. | Note that when using [[ui_editmask|File Mask dialog]], the trailing slash for directory masks is appended automatically. | ||
- | To make operation non-recursive use exclude mask ''*/''((Full inline file mask syntax, in case there's no other mask involved, is ''|*/'', where the ''|'' denotes a start of an [[#include_exclude|exclude mask]].)). | + | To make operation non-recursive use exclude mask ''*/''.((Full inline file mask syntax, in case there's no other mask involved, is ''|*/'', where the ''|'' denotes a start of an [[#include_exclude|exclude mask]].)) |
Directory masks are recursive. E.g. mask ''images/'' matches directories ''/home/martin/images/'' as well as ''/home/martin/images/avatars/''. | Directory masks are recursive. E.g. mask ''images/'' matches directories ''/home/martin/images/'' as well as ''/home/martin/images/avatars/''. | ||
===== [[path]] Path Mask ===== | ===== [[path]] Path Mask ===== | ||
- | When a mask selects files and it makes sense to select them based on directory, you can extend the mask with a path mask. You should separate the path mask from the filename mask by a slash. For example mask ''/home/martinp/*.txt'' matches all text files within the directory. To match all text files within subtree, use mask ''/home/martinp/*.txt; /home/martinp/*/*.txt''((Simpler, but less precise, form would be ''/home/martinp*/*.txt'')). | + | When a mask selects files and it makes sense to select them based on directory, you can extend the mask with a path mask. You should separate the path mask from the filename mask by a slash. For example mask ''/home/martinp/*.txt'' matches all text files within the directory. To match all text files within subtree, use mask ''/home/martinp/*.txt; /home/martinp/*/*.txt''.((Simpler, but less precise, form would be ''/home/martinp*/*.txt'')) |
The path mask is matched against full path, i.e. not against path relative path to a root of file transfer or synchronization. E.g. mask ''public_html/wiki/'' does not match ''/home/martinp/public_html/wiki'' directory, even if the root of file transfer or synchronization is ''/home/martinp''. Partial path mask that matches an absolute path may look like ''*/public_html/wiki/''. | The path mask is matched against full path, i.e. not against path relative path to a root of file transfer or synchronization. E.g. mask ''public_html/wiki/'' does not match ''/home/martinp/public_html/wiki'' directory, even if the root of file transfer or synchronization is ''/home/martinp''. Partial path mask that matches an absolute path may look like ''*/public_html/wiki/''. |