Differences
This shows you the differences between the selected revisions of the page.
2012-02-29 | 2012-02-29 | ||
future => beta (martin) | next release => latest beta release (martin) | ||
Line 51: | Line 51: | ||
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 next 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 | + | 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 Next Release ==== | + | ==== 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 76: | Line 76: | ||
===== Path Mask ===== | ===== Path Mask ===== | ||
- | When the 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 and its subdirectories (//in the next release only//&beta). | + | When the 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 and its subdirectories (//in the latest beta release only//&beta). |
- | In releases prior to the next release the previous mask does not match files in subdirectories. 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'')). &beta | + | In releases prior to the latest beta release the previous mask does not match files in subdirectories. 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'')). &beta |
For a relative path mask it makes no difference whether you use back (''\'') or forward slashes (''/''); the mask will always work for both local and remote paths. For example, the mask ''*/public_html/*.bak'' will match backup files both in ''D:\Documents\public_html\'' and ''/home/martinp/public_html/''. | For a relative path mask it makes no difference whether you use back (''\'') or forward slashes (''/''); the mask will always work for both local and remote paths. For example, the mask ''*/public_html/*.bak'' will match backup files both in ''D:\Documents\public_html\'' and ''/home/martinp/public_html/''. |