Differences

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

2005-03-04 2005-05-04
typography (martin) 3.7.5 path masks (martin)
Line 1: Line 1:
-====== File Masks ====== +====== Masks ====== 
-To use some feature of WinSCP you need to specify file masks. Such features are:+To use some features of WinSCP you need to specify mask to select files (or other things). Such features are:
  * Text file mask for [[transfer_mode|text mode transfers]].   * Text file mask for [[transfer_mode|text mode transfers]].
  * [[ui_pref_transfer#other_options|Ignore mask]] for transfers.   * [[ui_pref_transfer#other_options|Ignore mask]] for transfers.
Line 15: Line 15:
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''.

Last modified: by martin