[CentOS] scp -rp behavior

Mark LaPierre

marklapier at gmail.com
Sun Feb 22 01:08:23 UTC 2015


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.

On my 32 bit machine:

[mlapier at mushroom ~]$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:DB:E5:4E:9F
          inet addr:192.168.15.105

When I issue this command on my new 64 bit machine, 192.168.15.101:

scp -pr mlapier at 192.168.15.105: /home/mlapier/.thunderbird
/home/mlapier/.thunderbird

It copies all directories and files in 192.168.15.105: /home/mlapier/ to
192.168.15.101: /home/mlapier.  I don't want all that, I just want the
.thunderbird folder and all it's contents.

The user and group account numbers match on the two machines for this
user so that's not the issue.

When I RTFM this is what I thought it said to do.  I'm I misreading the
FM or is something weird going on here?

-- 
    _
   °v°
  /(_)\
   ^ ^  Mark LaPierre
Registered Linux user No #267004
https://linuxcounter.net/
****



More information about the CentOS mailing list