Differences

This shows you the differences between the selected revisions of the page.

2011-07-31 2012-02-29
scripting#commands (martin) masks without slash do not match directories anymore, directory masks are recursive (martin)
Line 24: Line 24:
===== Directory Mask ===== ===== Directory Mask =====
 +==== In the Next Release ====
 +To use the mask for directories, append a slash to the end, e.g. ''images/''. The mask ''*/'' matches any directory.
 +
 +To make operation non-recursive use exclude mask ''*/''.
 +
 +Directory masks are recursive. E.g. mask ''images/'' matches directories ''/home/martin/images/'' as well as ''/home/martin/images/avatars/''.
 +
 +&future
 +
 +==== In Previous Releases ====
Particularly when specifying an [[ui_transfer#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). Particularly when specifying an [[ui_transfer#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).
Line 31: Line 41:
To make operation non-recursive use exclude mask ''*/''. To make operation non-recursive use exclude mask ''*/''.
 +
===== Path Mask ===== ===== Path Mask =====

Last modified: by martin