winscp read the remote server command line batch file example

2010-07-12  来源:本站原创  分类:OS  人气:204 

option echo off
option batch on
option confirm off
open scp: / / root: [email protected]
get / opt/backup/gnome-libs-1.4.2.tar.bz2 e: \ bb \ gnome-libs-1.4.2.tar.bz2
close
exit

The total online article that there is an order that order, is an example not seen.

There are way to synchronize the entire folder synchronize:

option echo off
option batch on
option confirm off
open scp: / / root: [email protected]
cd / opt / backup /
option transfer binary
option synchdelete off
synchronize local e: \ bb
close
exit

Should understand the Internet through the example of the so-called waste materials how to use the right command.

Other waste material command as follows:

Remote Shell call to execute arbitrary commands
cd change remote working directory
chmod change the permissions on remote files
close Close Session
Close all sessions and the end of the exit program
Download files from remote directory get to the local directory
help Display help
keepuptodate a remote directory in a row to reflect changes in the local directory
lcd change local working directory
lls out the contents of local directory
New remote symbolic link ln
lpwd in the local working directory
ls lists the contents of remote directory
mkdir new remote directory
mv move or rename the remote file
open connection to the server
option to set or display the value of the script options
put from a local directory to upload files to remote directory
pwd Display remote working directory
rm delete remote file
rmdir remove a remote directory
Connect the session list session or select an active session
synchronize a local directory with remote directory synchronization

相关文章
  • winscp read the remote server command line batch file example 2010-07-12

    option echo off option batch on option confirm off open scp: / / root: [email protected] get / opt/backup/gnome-libs-1.4.2.tar.bz2 e: \ bb \ gnome-libs-1.4.2.tar.bz2 close exit The total online article that there is an order that order, is an examp

  • mysqld (server) command line option 2010-12-09

    · - Help, -? Show short help message and exit. Use - verbose and - help options all look. · - Allow-suspicious-udfs This option controls whether user-defined function xxx is only one character, as could be included in the main function. By default, t

  • XP through the command line / batch modify the environment variable 2011-09-14

    XP system environment variables are stored in the registry, so if you want via the command line or batch to modify environment variables, you need to know which places in the registry. PS. CMD command can be set directly modify the environment variab

  • Sun Java System Application Server command line to deploy war 2011-07-28

    Start command cd / d% SUNAPP% \ bin asadmin.bat start-domain domain1 Close asadmin.bat stop-domain domain1 Deploy command call. / asadmin.bat deploy - user admin - passwordfile% PASSWORDHOME% \ password.txt% JREPORTSOURCEHOMEPATH% \% JREPORTSOURCENAM

  • Ubuntu Server command line the default language Chinese garbled 2011-09-07

    If the Ubuntu Server installation process, select the Chinese (a lot of novice Chinese will choose to install, easy to get started), so the installation is complete, the system will be the default language is Chinese zh_CN.UTF-8. But the problem is t

  • Windows command line based (on) 2011-01-14

    Windows command-line based Go to the original HTML file http://sites.google.com/site/ghenix/ Download . Directory 1. Introduction : Why use the command line 2. The basis of the file system 2.1 Partition and drive letter 2.2 File with the name 2.3 Fil

  • Open a command line in any way the path 2010-08-05

    The Internet to see, to share. DOS command-line access to regular and friends all know, every time you start the command line, command prompt, the default is the system disk root directory, if you need to enter a multi-level subdirectory, they will f

  • Java command line summary 2010-11-21

    Reference: javac command java command Javac command: Used to compile the source file into a binary bytecode file. *. Java file that is compiled into *. class, *. java and *. class name is one to one correspondence, that is, the file is compiled Test.

  • Terminal server has exceeded the maximum allowable link and command line skills Remote Desktop 2011-03-03

    By using 3389 server does not log off in time or other circumstances arise again when landing Tip: The terminal server has exceeded the maximum allowable number of connections. As shown: The way to solve this as there are many, such as Baidu said, an

  • Batch learning - ffmpeg command line processing to further optimize 2011-05-08

    ffmpeg command line by way of video format conversion, is a good software that can be used under the php exec function, but due to the function agitated, under the windows error appears very often unknown, such as not execute, permissions problems, a

  • How to remote reboot via the command line or remotely shut down Windows systems 2011-04-14

    First, open the Run window, DOS screen appears, and then typing the following command: shutdown / R / M \ \ hostname -T 0 Which, / r that restart, / m, said the machine host name,-t, said delay time (0 indicates an immediate restart) If you need to s

  • Linux command line tips 2010-06-02

    Xiaoming Motorcycle and Chen Huajiang have kindly TRANSLATED this page. This is a list of linux common commands. • mark those entries, you can copy directly to the terminal without any modification, so you'd better open a terminal Bian Dubian cut & c

  • MySQL command line frequently used commands 2010-12-21

    Mysql commonly used commands show databases; display database create database name; create a database use databasename; Select database drop database name directly delete the database, do not remind the show tables; indicator describe tablename; show

  • MySQL Command Line [mysql command line frequently used commands] 2010-09-06

    MySql Download: www.mysql.org The first one, mysql service start and stop net stop mysql net start mysql The second measure, landing mysql mysql-u username-p password mysql-uroot-p, enter your password after the prompt, enter 12345, then press Enter

  • Transfer must have the eight [cmd command line] 2010-03-11

    Transfer must have the cmd command line eight [] Articles Category: Operating system Must have the cmd command line eight [] 1, ping It is used to check whether the network or Internet connection speed smooth order. As a living network administrator

  • DB2 command line of some commonly used commands 2010-05-26

    Command-line window # Open a command line window db2cmd # Open the control center db2cmd db2cc # Open the command Editor db2cmd db2ce Operational database command # Start the database instance db2start # Stop the database instance db2stop If you can'

  • Must have the eight [cmd command line] 2010-06-01

    1, ping It is used to check whether the network or Internet connection speed smooth order. As a life on the network administrator or hacker is, ping command is the first to grasp the DOS command, it used the principle is this: has the only machine on

  • Enter ssh, operating the remote server 2010-07-09

    1, SSH landing one of the servers 2, enter the command line, enter: ssl-l root 10.18.18.250 Enter the password to connect to normal 3, file copy scp-r source file root @ smserv: / target path root @ smserv : is the name of the remote server

  • Linux command line, modify the IP. Gateway. DNS method 2010-07-14

    Linux command line, modify the IP, gateway, DNS method Way: ifconfig eth0 192.168.1.18 netmask 255.255.255.0 Description: The ways you can make changes take effect immediately, restart will revert to the original IP The second way: vi / etc/sysconfig

  • How to configure the Windows command line IP address 2010-09-02

    Taken from the network: How to configure the Windows command line system IP address is sometimes a problem, do not see the local network connection to connect, network card work or normal. This is no way to modify a local The IP address. Because usua