[CentOS] scp -rp behavior
Always Learning
centos at u64.u22.net
Fri Feb 27 01:53:00 UTC 2015
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 at 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.
More information about the CentOS
mailing list