Optimization of File transfer in Linux system
Scp command
When scp transfers, the rate is relatively slow, but it does not increase the load of disk input and output.
Rsync (remote synchronization)
Prepare the experimental material
It will also take longer to enter the password.
Encryption: no need to enter the password, just do it
Generate the script shown in the figure to perform three operations and observe the running time of scp and rsync
The usage of rsync
Archival compression of files