|
From: | Todd DeLuca |
Subject: | Re: [Fab-user] os.walk remotely? |
Date: | Thu, 31 Jan 2013 10:29:58 -0500 |
Either do it step by step;output = run('ls')myfiles = output.split() #may need to parse more carefullyfor f in myfiles:run('mycommand {0}'.format(f))Or create a standalone script and send that to the remote machine and execute it there.Jasper--On 31 January 2013 15:54, andrea crotti <address@hidden> wrote:
I don't see any function to be able to do something like this on the
remote machine:
for dirname, dirnames, filenames in walk('js'):
isn't there anything?
What could I use otherwise if I want to make it myself?
_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user
Jasper van den BoschI'd love to see your attachment, but please use OpenDocument, not a proprietary format like docx. It's an international standard, endorsed by the EU, and implemented in many office suites, such as LibreOffice, and commercial products from Oracle, Sun, IBM and Microsoft (from 2007).
_______________________________________________
Fab-user mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fab-user
[Prev in Thread] | Current Thread | [Next in Thread] |