Skip to content
/ scpr Public

Secure directory copy recursive, copy only changed files (SSH)

License

Notifications You must be signed in to change notification settings

MrLaki5/scpr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

scpr

Copy whole directories recursive from host device to targeted device over SSH. Copy is done with changes check, so only changed files are copied. This speeds up whole process of copy if only few files have changed in between two copy actions. This can be quite usefull in constant transfering of project files to edge devices that don't support rsync and have only SSH.

Run

In order to run use script scpr.sh

scpr.sh <path to directory on host to copy> <receiver user>@<receiver ip>:<receiver path where dir is placed>

Example

If we wanted to copy ./test directory from host to RaspberryPi device on ip 192.168.1.10 with default user pi. If destination where we want to copy is under /home/pi/Desktop.

scpr.sh ./test [email protected]:/home/pi/Desktop

Releases

No releases published

Packages

No packages published

Languages