[Cialug] scp w/full path

Jeffrey Ollie jeff at ocjtech.us
Mon Mar 3 10:29:18 CST 2014


On Mon, Mar 3, 2014 at 10:22 AM, L. V. Lammert <lvl at omnitec.net> wrote:
> On Mon, 3 Mar 2014, Dave Hala wrote:
>
>> Try:
>>  scp -r /var/lib/the/path/* root at host.name.com:/usr/share/other/path
>>
>> :) Dave
>>
> That's WAY too much typing - exactly what I am trying to avoid <g>!

If this is something that you need to do repeatedly, the real solution
is to set up a configuration management system like Salt, Puppet, or
Ansible.  Personally I prefer Salt but your mileage may vary.

-- 
Jeff Ollie


More information about the Cialug mailing list