For example, some would prefer to edit the source code on Windows systems using some Windows specific editors rather than in Linux. To move the files across the systems, normally one would either use Samba based network mapping or a FTP server or any other method. But, for some with command line fu skills, SCP is god sent. This method only covers execution of the commands on Windows systems. (i.e., Windows will be host for the to and fro transfer of the files).
Enable SSH on the Linux box, get Putty utilities on the windows system.
Add the putty utilities to the path and create a small batch file for copying from Windows system to Linux system with the following command.
Say, name the batch file as CPF.BAT
Now, you can copy files from Windows system to the Linux system using the following command.
The file will be copied to the
Similarly to copy from the Linux to Windows, use the same command. Explore the command and parameterise whatever you need, like the destination directory Etc,.
Post a Comment