# Command
rsync -av --progress <source file location> <destination location>
# Example
# Source File "test1.txt" is on localhost
# Destination server IP Address: 172.16.20.28 & User: root
# Destination Path: /tmp/
rsync -av --progress test1.txt [email protected]:/tmp/
# Command
scp <source> <destination>
# Example with directory copy
scp -r /tmp/prometheus [email protected]:/tmp/