Copying Files via SCP¶
Copy the /sdcard/DCIM directory from 192.168.1.2 to the current directory.
bash scp.sh 192.168.1.2:/sdcard/DCIM .
Copy the local directory test/ to /sdcard/ on the device 192.168.1.2.
bash scp.sh test/ 192.168.1.2:/sdcard