Differences
This shows you the differences between the selected revisions of the page.
2011-07-31 | 2012-10-15 | ||
scriptcommand_* (martin) | using -filemask instead of deprecated optinon exclude (martin) | ||
Line 1: | Line 1: | ||
====== How do I transfer (or synchronize) directory non-recursively? ====== | ====== How do I transfer (or synchronize) directory non-recursively? ====== | ||
- | Use ''[[scriptcommand_option|option exclude]]'' command to set exclusion [[file_mask|mask]] to exclude all (sub-)directories: | + | Use ''-filemask'' switch of respective command (''[[scriptcommand_get|get]]'', ''[[scriptcommand_put|put]]'' or ''[[scriptcommand_synchronize|synchronize]]'') to exclude all (sub-)directories: |
<code winscp> | <code winscp> | ||
- | option exclude "*/" | + | put -filemask="*/" * |
- | put * | + | |
</code> | </code> |