Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: turning a remote file into a local one



On Tue, May 06, 2008 at 06:37:02PM -0700, Bart Schaefer wrote:
> 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.

That works fine, thanks.



Messages sorted by: Reverse Date, Date, Thread, Author