Tuesday, November 24, 2015

How to use PSCP in cmd

If you want to send files to remote machine, and your machine is Win-OS, then use this command:

pscp "D:\LDA Training and Testing\FriendandFamily\*.csv" yyang57@hydra26.eecs.utk.edu:./SVMMeasure/

to send all files in the folder to the remote machine.

Be sure to get the PSCP before running the cmd

Be sure to run the cmd in Admin model


e.g.
pscp "C:\Users\yin2\Desktop\MultiLevel\StableLevelHydra.m" yyang57@hydra26.eecs.utk.edu:./SVMMeasure/StableH20.m

pscp -r yyang57@hydra26.eecs.utk.edu:"./SVMMeasure/FinalData/*" C:\Users\yin2\Desktop\MultiLevel\HydraData\

C:\Windows\system32>pscp "D:\Hydra\Dataset\*" yyang57@login.newton.utk.edu:./SVM
Measure/Dataset/


No comments:

Post a Comment