Re: scp -rp behavior(SOLVED)

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 01/03/15 15:44, Mark LaPierre wrote:
> On 02/26/15 19:45, Valeri Galtsev wrote:
>> 
>> On Thu, February 26, 2015 6:34 pm, Mark LaPierre wrote:
>>> Hey all,
>>> 
>>> I'm trying to copy configuration files from my old CentOS 6.6
>>> 32 bit machine to my new CentOS 6.6 64 bit machine.
>>> 
<snip>
>>> 
>>> scp -pr mlapier@192.168.15.105: /home/mlapier/.thunderbird 
>>> /home/mlapier/.thunderbird
>> 
<snip>
> 
> Putting the source path in quotes, because of the dot, like this:
> 
> scp -pr mlapier@192.168.15.105:"/home/mlapier/.thunderbird"
> /home/mlapier
> 
> worked.
<snip>

Assuming the examples have been accurately copied, then the problem is
an extra space.  The first example is trying to copy
mlapier@192.168.15.105: to /home/mlapier/.thunderbird (with the third
parameter /home/mlapier/.thunderbird ignored).  The successful example
is trying to copy mlapier@192.168.15.105:"/home/mlapier/.thunderbird"
to /home/mlapier which is what I assume you intended.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJU8zeQAAoJEAF3yXsqtyBl5LMP/0vpm5iK/wpIzcUa8RoYpY7n
9R5IratPZ4NRP1V9XkC/VPEEf9gpwQ2RHASIyZvy6KFAGC0T/dHhtQXO27CE1mG5
K+MCGRAZvPXMbW/bHqDfqkH88DwmaRcmH/doRn2dUPGZpTRKrwyz/40qBBkkEYuF
wi0+jeGpdwc/dC99rwVFTi8/G2OeVx6WSTHqpjMWn5Okl3E5bI7px+Z0EmARxP44
iqPDHoOfY7m17w3YwNePdO0vBcXlQKVMXb/0hP4G7Tvbt2+Z9i987ZzxcGf4pFbx
MPO7wjIOuxsn4qUqBjXMWo6TnpsCBAv8XQeQk9Zxs3H9kVCZig8N7ITL5zWkgi2h
8FcQQWcmO3mZYbTsQY9JoqQo6JS/WGFrcfUrxwblz0qcXLcEe6t5+68cav3fXogh
MGwaNXJeCU/Wc/ABQ/M4OONtZe8SEVcYecZzGrPQU6e86KuUMXo2oU6DgkcWQOiL
0Aap3gHw1Dq3Zm9K1I2IHPIqPVRLG2sIghLY1LjfsWYs4u35FXHb9vEzy33o86ml
/SxvOR7QbWy7KPIlDdkJqcRMG6gYaV5/tfF6VaMg4HNmZkcmhVpAe9E4z3sXcYv5
q/WVfNWOw/UnrqEbFLq7N/uFNGvVpr4jSGxIYypyGTiJNq7fENrFs2ojEP8PAhMT
f0blE1F6PVz+p4BGkRsV
=rhcc
-----END PGP SIGNATURE-----
_______________________________________________
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