how to email a file from command line?

Gregg Dinse dinse at niehs.nih.gov
Sat Mar 8 09:44:45 PST 2008


On Mar 8, 2008, at 11:58 AM, Arno Hautala wrote:

> On 08 Mar 2008, at 11:52, Gregg Dinse wrote:
>
>> Suppose the file is called junk.doc and that dummy at company.com is  
>> my email address.  I can ssh to my mac at work.
>
> If you can ssh to your home machine, you should be able to use scp  
> to get the file.
>
> If the file is on your Desktop for example, you should be able to  
> issue tho following to get the file:
>
> scp gregg at home:~/Desktop/junk.doc .
>
> That will copy the file to your current directory.  If you're not  
> using Mac OS X or unix there should be some sort of Windows app that  
> should work.  Just look for something with scp support.
>
> --Arno
>
> --                                                 --
> arno  s.  hautala        /-\        arno at alum.wpi.edu
> --                                                 --

Hi Arno,

Thanks for the help.

Gregg



More information about the MacOSX-talk mailing list