Differences
This shows you the differences between the selected revisions of the page.
| 2006-09-20 | 2006-09-21 | ||
| created (martin) | continuation (martin) | ||
| Line 127: | Line 127: | ||
| <code winscp> | <code winscp> | ||
| lcd d:\ | lcd d:\ | ||
| + | </code> | ||
| + | |||
| + | ===== lls ===== | ||
| + | Lists the contents of local directory. | ||
| + | |||
| + | lls [ <directory> ]\[ <wildcard> ] | ||
| + | |||
| + | If ''directory'' is not specified, lists working directory. When ''[[file_mask|wildcard]]'' is specified, it is treated as set of files to list. Otherwise, all files are listed. | ||
| + | |||
| + | Examples: | ||
| + | <code winscp> | ||
| + | lls *.html | ||
| + | lls d:\ | ||
| + | lls | ||
| + | </code> | ||
| + | |||
| + | ===== ln ===== | ||
| + | [[task_link|Creates remote symlink]]. | ||
| + | |||
| + | ln <target> <symlink> | ||
| + | |||
| + | Alias: ''symlink'' | ||
| + | |||
| + | Example: | ||
| + | <code winscp> | ||
| + | ln /home/martin/public_html www | ||
| + | </code> | ||
| + | |||
| + | ===== lpwd ===== | ||
| + | Prints current local working directory (valid for all sessions). | ||
| + | |||
| + | lpwd | ||
| + | |||
| + | ===== ls ===== | ||
| + | Lists the contents of specified directory. | ||
| + | ls [ <directory> ]/[ <wildcard> ] | ||
| + | |||
| + | Lists the contents of specified remote directory. If ''directory'' is not specified, lists working directory. When ''[[file_mask|wildcard]]'' is specified, it is treated as set of files to list. Otherwise, all files are listed. | ||
| + | |||
| + | Alias: ''dir'' | ||
| + | |||
| + | Examples: | ||
| + | <code winscp> | ||
| + | ls *.html | ||
| + | ls /home/martin | ||
| + | ls | ||
| + | </code> | ||
| + | |||
| + | ===== mkdir ===== | ||
| + | [[task_create_directory|Creates remote directory]]. | ||
| + | |||
| + | mkdir <directory> | ||
| + | |||
| + | Example: | ||
| + | <code winscp> | ||
| + | mkdir public_html | ||
| + | </code> | ||
| + | |||
| + | ===== mv ===== | ||
| + | [[task_move_duplicate|Moves]] or renames one or more remote files. | ||
| + | |||
| + | mv <file> [ <file2> ... ] [ <directory>/ ][ <newname> ] | ||
| + | |||
| + | Destination ''directory'' or ''newname'' or both must be specified. Destination directory must end with slash. [[operation_mask|Operation mask]] can be used instead of new name. Filename can be replaced with [[file_mask|wildcard]] to select multiple files. | ||
| + | |||
| + | Alias: ''rename'' | ||
| + | |||
| + | Examples: | ||
| + | <code winscp> | ||
| + | mv index.html public_html/ | ||
| + | mv index.html about.* | ||
| + | mv index.html public_html/about.* | ||
| + | mv public_html/index.html public_html/about.html /home/martin/*.bak | ||
| + | mv *.html /home/backup/*.bak | ||
| </code> | </code> | ||