Differences
This shows you the differences between the selected revisions of the page.
2012-09-24 | 2012-09-24 | ||
syntax (martin) | 5.1 is stable (martin) | ||
Line 28: | Line 28: | ||
| ''>size[KMG]'' | Matches files larger than ''size''. Following units can be used: ''K'' (Kibibyte), ''M'' (Mebibyte) or ''G'' (Gibibyte). | ''*.bin>1M'' | | | ''>size[KMG]'' | Matches files larger than ''size''. Following units can be used: ''K'' (Kibibyte), ''M'' (Mebibyte) or ''G'' (Gibibyte). | ''*.bin>1M'' | | ||
| ''<size[KMG]'' | Matches files smaller than ''size''. | ''<1G'' | | | ''<size[KMG]'' | Matches files smaller than ''size''. | ''<1G'' | | ||
- | | &beta_feature: ||| | ||
| ''>yyyy-mm-dd[ hh:mm[:ss]]'' | Matches files modified the last time after the date or time. | ''>2012-01-01'', ''>2012-02-29 08:47'' | | | ''>yyyy-mm-dd[ hh:mm[:ss]]'' | Matches files modified the last time after the date or time. | ''>2012-01-01'', ''>2012-02-29 08:47'' | | ||
| ''>time[YDHNS]'' | Matches files modified the last time within specified interval. One of the following units must be used: ''Y'' (years), ''D'' (days), ''H'' (hours), ''N'' (minutes) or ''S'' (seconds). | ''*.doc>1Y'' | | | ''>time[YDHNS]'' | Matches files modified the last time within specified interval. One of the following units must be used: ''Y'' (years), ''D'' (days), ''H'' (hours), ''N'' (minutes) or ''S'' (seconds). | ''*.doc>1Y'' | | ||
Line 51: | Line 50: | ||
Both include and exclude part can be empty, denoting that everything is included or nothing is excluded, respectively. When include part is empty, masks starts with pipe straight away. When exclude part is empty, you can omit the trailing pipe. | Both include and exclude part can be empty, denoting that everything is included or nothing is excluded, respectively. When include part is empty, masks starts with pipe straight away. When exclude part is empty, you can omit the trailing pipe. | ||
- | |||
- | In releases //prior to the latest beta release//, in transfer settings, it was possible to explicitly select, whether the file mask is include or exclude mask. When exclude file mask was selected, the order of exclude and include mask was reverted. Mask was starting with exclude mask, optionally followed by pipe and include mask. &beta | ||
To escape pipe character double it, e.g. ''filewith||pipe''. | To escape pipe character double it, e.g. ''filewith||pipe''. | ||
===== Directory Mask ===== | ===== Directory Mask ===== | ||
- | ==== In the Latest Beta Release ==== | ||
To use the mask for directories, append a slash to the end, e.g. ''images/''. The mask ''*/'' matches any directory. | To use the mask for directories, append a slash to the end, e.g. ''images/''. The mask ''*/'' matches any directory. | ||
Line 64: | Line 60: | ||
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/''. | ||
- | &beta | + | //Note that in previous releases, syntax for directory masks was different, please upgrade, if you can to use the current supported syntax.// &beta |
- | + | ||
- | ==== In Previous Releases ==== | + | |
- | Particularly when specifying an [[ui_transfer_custom#other_options|include mask]] for transfers, bear in mind that it is applied to directories as well, so that ''*.bak'' will only match backup files located in the current directory (unless you happen to have a subdirectory whose own name ends in ".bak", in which case it will be applied to all backup files in there too). | + | |
- | + | ||
- | A mask ending with slash matches only directories. The mask ''*/'' matches any directory. | + | |
- | + | ||
- | For example to transfer only HTML files located in any directory, use the include mask ''*/; *.html'' (see below for combining masks). | + | |
- | + | ||
- | To make operation non-recursive use exclude mask ''*/''. | + | |
===== Path Mask ===== | ===== Path Mask ===== |