You can use the PSCP command to achieve the mutual copying of files:
1. Download Pscp.exe file
2. If you want to perform in all directories, change the environment variables.
When Windows executes instructions, go directly to these directories to find the executable file.
To set the method for an environment variable:
My Computer-> Properties-> Advanced-> Environment variables
There are two kinds of user variables and system variables. User variables are of course available only to the current user, and system variables are available to all users.
We'll edit the variable named path in the user variable.
Click "Edit" to find the variable value is a semicolon ";" Separate the path name, here plus our path.
For example, I add the variable value into "C:Program Filesstormiicodec; C:Program Filesstormii; C:Program Filesputty ".
3. After changing the environment variable, enter PSCP at the command line to copy the file:
Command format: PSCP localfile rootuser@remoteip:/filedirectory
Copy entire folder: Pscp-r localdir rootuser@remoteip:/filedirectory
If you copy files from Linux, it is the same method, but the front and back address can be swapped;
4. For example, I want to copy all the files in the entire directory under Windows E:HTK to the Linux/root directory, as follows:
Pscp-r-L ROOT-PW 1234567890 E:HTK 192.168.0.204:/root
Description
-R Copy all files under directory;
The user name (root) of the-L offset machine (Linux);
-PW password (1234567890);
E:HTK the source file/folder address;
The address of the 192.168.0.204:/root destination file/folder. 192.168.0.204 is the IP address of the Linux machine.
5. In turn, transfer the Test.txt file under the Linux SOUNDRCG directory to Windows E: and also typing the command on the Windows command line:
Pscp-l ROOT-PW 1234567890 192.168.0.204:/soundrcg/test.txt E:
Note: PSCP does not seem to transmit fast.
Note : More attention to the computer Tutorials section, triple Computer office group: 189034526 welcome you to join