Solved

Copying files across servers to my Mac laptop.

Posted on 2009-03-31
3
239 Views
Last Modified: 2012-05-06
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
Comment
Question by:wotan1953
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 24032455
try this

scp username@server:/etc/mail/aliases_03032009.txt /path/to/local/dir//aliases_03032009.txt
0
 

Author Comment

by:wotan1953
ID: 24039604
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
 
LVL 40

Expert Comment

by:omarfarid
ID: 24043214
I replied to that, please check
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question