Re: scp -rp behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2015-02-27 at 01:15 +0000, Richard wrote:


> As I believe was suggested by someone when you asked about this a
> few days ago, the space that you have after the colon:
> 
>   scp -pr mlapier@192.168.15.105: /home/m...
> 
> is the source of your problem. I just tested and confirmed it.

When transferring files between machines I use this (in a BASH file)

	scp -P 12345 -p $file aaa.example.com://$file

Note the colon and 2 slashes.


-- 
Regards,

Paul.
England, EU.      Je suis Charlie.


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux