Skip to main content

Module transfer

Module transfer 

Source
Expand description

File transfer: scp first; prefer rsync -e ssh when both ends have it.

Functionsยง

prefer_rsync
True when local rsync exists and the remote host has rsync on PATH.
require_ok ๐Ÿ”’
scp_files
Copy one or more local files to a remote directory using scp.
transfer_files
Copy files with rsync when available, otherwise scp.