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)

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay