Differences
This shows you the differences between the selected revisions of the page.
2005-08-11 | 2005-08-11 | ||
3.7.6 directory masks (martin) | typo (martin) | ||
Line 19: | Line 19: | ||
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''. | 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 an [[ui_transfer#other_options|include mask]] for transfers, bear in mind that it is applied to directories as well. If you want to match directories only, add slash at the end of the mask. Mask ''*/'' matches any directory. For example to transfer only HTML file located in any directory, use include mask ''*/; *.html''. | + | Particularly when specifing an [[ui_transfer#other_options|include mask]] for transfers, bear in mind that it is applied to directories as well. If you want to match directories only, add slash at the end of the mask. Mask ''*/'' matches any directory. For example to transfer only HTML files located in any directory, use include mask ''*/; *.html''. |