Default
SCP
C. BinKadal --- Sendirian, Berhad


List of Contents


scp from Windows

(((type nul 2> nul > file1.txt)>file2.txt)>file3.txt)>file4.txt;cmd /r dir/w

scp -P 6022 .\file?.txt cbkadal@localhost:/tmp/

ssh -p 6022 cbkadal@localhost

ls -F /tmp/file*





scp to Windows

GUEST

mkdir -pv tmp

cd tmp

mv -v /tmp/file* .

ls -F

exit

WINDOWS

del .\file*

scp -P 6022  "cbkadal@localhost:~/tmp/file?.txt" .

cmd /r dir /w






© 2021-2024 --- C. BinKadal --- About --- Revision: 0165--28-Feb-2024.