|
From: | Sandeep L |
Subject: | [Fab-user] Append out to a file in fabfile.py def() |
Date: | Wed, 26 Jun 2013 17:28:40 +0530 |
Hi,
I am trying to append some text to a file using a simple definition with fabric. I tried following definition but not working, can someone please help me resolve this issue. def file_append(): run("echo abc >> /home/user/test.txt") Also please let me know if there is any other way to achieve this using fabric. Thanks, Sandeep. |
[Prev in Thread] | Current Thread | [Next in Thread] |