Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: turning a remote file into a local one
- X-seq: zsh-users 12830
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxxxxx>
- Subject: Re: turning a remote file into a local one
- Date: Tue, 06 May 2008 18:37:02 -0700
- In-reply-to: <20080506211547.GA16900@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080506211547.GA16900@xxxxxxxxxx>
On May 6, 11:15pm, Louis-David Mitterrand wrote:
}
} How could I convert a "ssh root@server tail -F /var/log/syslog" command
} into a _live_ local file that I could then pass as argument to
} root-tail? Can zsh do that?
You can try
root-tail <(ssh root@server tail -F /var/log/syslog)
but I don't promise it will work because the file thus created is not
seekable.
} I tried using "=(ssh root@server tail -F /var/log/syslog)" but nothing
} is displayed.
That attempts to synchronously capture the entire output of the remote
shell in the temporary file before executing the local command to read
the file. Clearly not what you want.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author