SCP download multiple files

 

In general we will download one file at a time from remote file using scp.

We can also download multiple files/directories at once using scp command.

Here is the example to download multiple files/directories at once with scp:

$ scp -r user@ip-address:"/path/to/file /path/to/directory" /destination/path/

Above command will download both file and directory to destination path.

-Sany

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s