The syntax for the Fabric get operation is as follows:
get(remote_path, local_path)
This will download the files from the remote host to the machine running the fabfile, using either rsync or scp . This is commonly used when you need to gather log files to the server, for example:
def get_ops(): try: get("/var/log/messages","/root/") except: pass