Transferring on SSH - Kraft2k/icebox-rover GitHub Wiki

Transferring a file from a local computer to a remote server:

scp /home/ubuntu/main.py [email protected]:/home/orangepi

Transferring a file from a remote server to a local computer:

scp [email protected]:/home/orangepi/main.py /home/ubuntu

Tranferring folder

cp -r /home/ubuntu/folder orangepi@:192.168.0.155/home/orangepi

unzip archive.zip -d /home/user/extracted

unzip archive.zip