scp in reverse?

kitepilot at kitepilot.com kitepilot at kitepilot.com
Thu Mar 15 12:01:19 MST 2012


Yes, scp (like cp) will copy back or forth, the 2 commands below are legal: 

scp myuser at remotebox:/that/file /this/path
scp /this/path myuser at remotebox:/that/file 

1st one will 'retrieve' /that/file from 'remotebox' into /this/path
2nd one will copy /this/path to /that/file in 'remotebox'.
ET 


joe at actionline.com writes: 

> 
> This is interesting.  Does this really mean that
> scp in reverse is possible by using a similar syntax
> with the dot at the end to extract a file from a remote
> computer to my local computer? 
> 
> -----------------
> Mike Ballon wrote (in part) ... scp in reverse: 
> 
> scp 192.168.0.4:Pictures/2009-Move.from.Florida . 
> 
> I'm guessing the path of the pictures and take note of the dot at the end 
> 
>  
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


More information about the PLUG-discuss mailing list