fab-user
[Top][All Lists]
Advanced

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

Re: [Fab-user] Quick Syntax Question


From: Ronan Amicel
Subject: Re: [Fab-user] Quick Syntax Question
Date: Thu, 25 Jul 2013 15:36:41 -0700 (PDT)

Try:

get('/etc/passwd', '/tmp/files/%s' % host)

Sent from my phone


On Fri, Jul 26, 2013 at 12:26 AM, Worker Bee <address@hidden> wrote:

I am stumped (just a python newbie...)

I want to grab the passwd files from a set of remote servers, and copy them back to my local host, having the name of each file include the respecitve hostname.  I cannot seem to get the correct syntax.

get('/etc/passwd', '/tmp/files/%host')

Any help would be greatly appreciated!

Thanks in advance!
Bee


reply via email to

[Prev in Thread] Current Thread [Next in Thread]