Differences
This shows you the differences between the selected revisions of the page.
2005-06-22 | 2005-07-28 | ||
autoselection rule for transfer settings preset (martin) | grammar (152.78.40.33) | ||
Line 1: | Line 1: | ||
====== Masks ====== | ====== Masks ====== | ||
- | To use some features of WinSCP you need to specify mask to select files (or other things). Such features are: | + | To use the following features of WinSCP you need to specify a mask to select files (or other things): |
* Text file mask for [[transfer_mode|text mode transfers]]. | * Text file mask for [[transfer_mode|text mode transfers]]. | ||
* [[ui_transfer#other_options|Ignore mask]] for transfers. | * [[ui_transfer#other_options|Ignore mask]] for transfers. | ||
Line 7: | Line 7: | ||
You can specify several masks separated by semicolon ('';''). | You can specify several masks separated by semicolon ('';''). | ||
- | When specifing the file mask you can use following patterns: | + | When specifing the mask you can use following patterns: |
^ Pattern ^ Meaning ^ Example ^ | ^ Pattern ^ Meaning ^ Example ^ | ||
Line 17: | Line 17: | ||
All other characters are treated literally. | All other characters are treated literally. | ||
- | When the mask selects files and it makes sense to select them based on directory, you can extend the mask with path mask. Separate path mask from filename mask by slash. For relative path mask it does not make difference if you use back (''\'') or forward slashs (''/''), the mask will always work for both local and remote paths. For example exclude mask ''*/public_html/*.bak'' will exclude backup files both in ''D:\Documents\public_html'' and ''/home/martinp/public_html''. | + | 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 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 exclude mask ''*/public_html/*.bak'' will exclude backup files both in ''D:\Documents\public_html'' and ''/home/martinp/public_html''. |
- | Particularly when specifing [[ui_transfer#other_options|include mask]] for transfers, keep in mind that it is applied to directories as well. | + | Particularly when specifing an [[ui_transfer#other_options|include mask]] for transfers, bear in mind that it is applied to directories as well. |