commandline » Revisions »
Differences
This shows you the differences between the selected revisions of the page.
2014-11-14 | 2014-11-14 | ||
correcting heading case (martin) | site folders actually use remote path syntax and mask actually do not care what slash is used (martin) | ||
Line 120: | Line 120: | ||
==== [[batchsettings]] Mass-modification of sites ==== | ==== [[batchsettings]] Mass-modification of sites ==== | ||
- | Use ''/batchsettings'' to mass-modify stored sites. The first argument is a mask to select sites to modify. Use a syntax of [[file_mask#basic|basic file masks]]. You can also use local [[file_mask#path|path mask]] to select sites based on their folders. The other arguments define new values for site settings. Use the same syntax as for ''[[commandline#session|/rawsettings]]''. | + | Use ''/batchsettings'' to mass-modify stored sites. The first argument is a mask to select sites to modify. Use a syntax of [[file_mask#basic|basic file masks]]. You can also use [[file_mask#path|path mask]] to select sites based on their folders. The other arguments define new values for site settings. Use the same syntax as for ''[[commandline#session|/rawsettings]]''. |
For example to configure a proxy for all sites in a "clients" folder, use: | For example to configure a proxy for all sites in a "clients" folder, use: | ||
<code batch> | <code batch> | ||
- | winscp.exe /batchsettings clients\* ProxyMethod=3 ProxyHost=proxy | + | winscp.exe /batchsettings clients/* ProxyMethod=3 ProxyHost=proxy |
</code> | </code> | ||