I need to copy large files over the network, but I am not sure about the command line to use for it. I have been using rsync, but I feel maybe I could zip the files first? I am a Unix beginner, so lots to learn!
When using ssh (the default) and you have only limited CPU and security is not an issue, you may also want to specify
Other interesting arguments you may want to use:
I'm not sure I understand whether you have a problem compressing files or you have a problem transferring files, or you just have a general question. I'll go with the later.
If you have several files in a folder, you could tar them up in a single archive (.tar) file:
You may then compress this file using a very good compressor, such as lzma:
You may then copy your file using
You may also instruct rsync to compress using the