I had been using FTP for a very long time for transferring, it is a great protocol for file transfer, but it is time-consuming when transferring big files or many files to a distant server, a server can timeout if the server is or the client network is slow.

I spend some time trying to discover alternatives. I finally discovered Rsync, a nice protocol to transfer files which were also supported by my Server/receiver where I wanted my files to be transferred.

So, I wrote this small script and thought I would share it.

“`
rsync –compress –recursive –checksum upload_folder/ user@host.com:deploy_location/
“`

This is a simple and easy way to upload file, you can edit the flags according to your needs

Thank you for reading.

I compiled a list of software and services that I use to improve my workflow, here is the link to the list.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Programmer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.