scpHow to show progress when using SCP?
SCP (Secure Copy Protocol) is a secure file transfer protocol used to transfer files between two computers over a network. It can be used to show progress when transferring files by using the -v
(verbose) flag. This flag will display the progress of the transfer in the terminal.
Example code
scp -v <source_file> <destination_file>
Output example
sending incremental file list
./
file1
file2
sent 8 bytes received 12 bytes 20.00 bytes/sec
total size is 8 speedup is 0.60
The -v
flag will display the following information:
- The list of files being transferred
- The number of bytes sent and received
- The total size of the files being transferred
- The speed of the transfer
Helpful links
More of Scp
- How to overwrite files using SCP?
- How to run SCP in verbose mode?
- How to transfer files using wildcards with SCP?
- How to transfer files recursively using SCP?
- Running SCP in quiet mode
- Is it possible to SCP files in parallel?
- How to list files using SCP?
- How to enable logging when using SCP?
- How to SCP to multiple hosts?
See more codes...