Rsync commands

Published: 2025-04-18 14:44 +1200
Last Modified: 2025-04-18 14:44 +1200


To copy from a local device to a remote device (push a file), from local device type:

    rsync -a [path/to/file] [user@domain]:[path/to/directory/]

To copy from a remote device to a local device (pull a file), from local device type:

    rsync -a [user@domain]:[path/to/file] [path/to/directory]