Differences

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

2005-04-05 2005-04-05
ui_pref_commands (martin) subtitles (martin)
Line 14: Line 14:
The custom command is [[ui_pref_commands|predefined]] command, which can contain several patterns, which WinSCP replaces for example with names of files selected in panel, see below. For example pre-defined custom command //Touch//, defined as ''touch "!"'', calls ''touch'' command on every selected file in remote panel. The custom command is [[ui_pref_commands|predefined]] command, which can contain several patterns, which WinSCP replaces for example with names of files selected in panel, see below. For example pre-defined custom command //Touch//, defined as ''touch "!"'', calls ''touch'' command on every selected file in remote panel.
 +==== Types of Custom Commands ====
There are basically three types of custom commands: There are basically three types of custom commands:
  * Remote commands are executed on the remote servers with the remote files. These commands can modify the files.   * Remote commands are executed on the remote servers with the remote files. These commands can modify the files.
Line 19: Line 20:
  * Special type is local command that is executed both with local and remote files. This is particuarly useful for running "diff" tools. This type is available only with [[ui_commander|Norton Commander interface]]. You can execute such command for set of remote files against the the same number or local files (once for each pair). Another option is to execute it for set of remote files against one local file (once for each remote file) and vice versa.   * Special type is local command that is executed both with local and remote files. This is particuarly useful for running "diff" tools. This type is available only with [[ui_commander|Norton Commander interface]]. You can execute such command for set of remote files against the the same number or local files (once for each pair). Another option is to execute it for set of remote files against one local file (once for each remote file) and vice versa.
 +==== Patterns Used in Custom Commands ====
You can use following patterns in your custom commands: You can use following patterns in your custom commands:
^ Pattern ^ Command Type ^ Descriptions ^ ^ Pattern ^ Command Type ^ Descriptions ^

Last modified: by martin