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
- Running SCP in quiet mode
- How to transfer files recursively using SCP?
- How to overwrite files using SCP?
- Is it possible to SCP files in parallel?
- How to automatically create destination directory when using SCP?
- How to use an SSH key when using SCP?
- How to use a different port when using SCP?
- How to transfer files using wildcards with SCP?
- How to run SCP in verbose mode?
See more codes...