How do I copy a folder from remote to local using scp

0 votes

How do I copy a folder from remote to localhost using SCP?

I use SSH to log in to my server.

Then, I would like to copy the remote folder foo to local /home/user/Desktop.

How do I achieve this? Any help will be appreciated! 

Apr 13 in Linux Administration by Soham
• 8,730 points
17 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Linux Administration

0 votes
0 answers

How do I copy folder with files to another folder in Unix/Linux?

I am having some issues copying a ...READ MORE

Apr 13 in Linux Administration by Soham
• 8,730 points
12 views
0 votes
0 answers

How do I copy folder with files to another folder in Unix/Linux?

I am having some issues to copy ...READ MORE

Apr 21 in Linux Administration by Edureka
• 9,320 points
11 views
0 votes
1 answer

How to remove write permission from a folder in Linux system?

Hi@akhtar, You can use chmod command to remove ...READ MORE

answered Aug 13, 2020 in Linux Administration by MD
• 95,340 points
912 views
0 votes
0 answers

How do I output coloured text to a Linux terminal?

How do I print coloured characters to ...READ MORE

Apr 20 in Linux Administration by Edureka
• 9,320 points
23 views
0 votes
0 answers

How can I convert a series of images to a PDF from the command line on linux?

I have a scanning server I wrote ...READ MORE

Apr 21 in Linux Administration by Edureka
• 9,320 points
11 views
0 votes
2 answers

how to loop through the content of a file using bash

#!/bin/bash for i in  `cat peptides.txt` do echo $i done READ MORE

answered Sep 5, 2020 in Linux Administration by Prakash K. Aithal
1,647 views
0 votes
1 answer
0 votes
2 answers

How do I use a shell script to SSH in to a remote machine to execute commands?

Sorry in advance for any formatting. Check out ...READ MORE

answered Feb 7, 2021 in Linux Administration by anonymous
13,527 views
0 votes
1 answer

How to call an external command?

Look at the subprocess module in the standard library: import ...READ MORE

answered Nov 19, 2020 in Python by Gitika
• 65,850 points
122 views
0 votes
0 answers

What directory is '~' when I type 'cd ~'?

I'm only new to using SSH, but ...READ MORE

Apr 14 in Linux Administration by Rahul
• 8,980 points
12 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP