scp

Usage

scp [OPTIONS] SOURCE_PATH DESTINATION_PATH

Flags

transfer directory

-r

see the transfer details (verbose)

-v

copy files with compression

-C

limit bandwidth

-l 800

keep the original attributes

-p

quite

-q

Examples

push a file to a remote system

scp file user@host:/path/to/file

pull a file from a remote system

scp user@host:/path/to/file /local/path/to/file

push multiple files to a remote system

scp file1 file2 user@host:/path/to/directory

push an entire directory to a remote system

scp -r /path/to/directory user@host:/path/to/directory

See Also