Sponsored By
















 

>

# pi@raspberrypi:/opt$ cat SCP.sh 
# >
# COPYRIGHT (C) 2021. SMIN. ALL RIGHTS RESERVED.
# 

#!/bin/sh

#default : scp fileNM pi@192.168.0.0:

echo -n "please note your file with path below : "
read fileNm

echo -n "please note your account and host name like pi@192.168.0.0 below : "
read serverNm

echo -n "please note your destination path below : "
read savePath

sudo scp "$fileNm" "$serverNm":"$savePath"

 

 



Sponsored By















+ Recent posts