DEV Community

Cover image for Large file transfer from VPS to local machine
Talles L
Talles L

Posted on

Large file transfer from VPS to local machine

Transferring files? More often than not, rsync is the answer:

rsync --archive --verbose --partial --progress username@vps_ip_or_hostname:/path/to/yourfile.tar /local/destination/
Enter fullscreen mode Exit fullscreen mode
  • --archive: Enables archive mode, which preserves symbolic links, permissions, timestamps, group, and ownership. It's equivalent to -rlptgoD.
  • --verbose: Increases the verbosity of the output, providing detailed information about the transfer process.
  • --partial: Keeps partially transferred files if the transfer is interrupted, allowing you to resume the transfer later without starting from scratch.
  • --progress: Displays detailed progress information during the transfer, including the transfer speed and estimated time remaining.

Top comments (0)