Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

Copying files across servers to my Mac laptop.

I need to copy extra dirs/files from an external server, to my Mac Laptop.

I was thinking something like:

ssh username@remoteserver "scp /etc/mail/aliases_03032009.txt" | dd of=/path/to/local/dir//aliases_03032009.txt

Any help will be appreciated.

Thanks
0
wotan1953
Asked:
wotan1953
  • 2
1 Solution
 
omarfaridCommented:
try this

scp username@server:/etc/mail/aliases_03032009.txt /path/to/local/dir//aliases_03032009.txt
0
 
wotan1953Author Commented:
Hey Omarfarid -

Thanks ... quick followup on the the previous question "tar procedure may have been compamised",  I added some more there. I think I might turn it into another question. Let me know, what U think.

Thanks again
0
 
omarfaridCommented:
I replied to that, please check
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now