...
HTML |
---|
<HTML><HEAD><TITLE>Manpage of ECAT</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> </HEAD><BODY> <H1>ECAT</H1> Section: User Contributed Perl Documentation (1)<BR>Updated: 2013-08-15<BR><A HREF="#index">Index</A> <A HREF="http://https://confluence.ecmwf.int/display/UDOC/Commands/">Return to Main Contents</A><HR> <A NAME="lbAB"> </A> <H2>NAME</H2> ecat - copies file between a domain and STDIN/STDOUT <A NAME="lbAC"> </A> <H2>SYNOPSIS</H2> <A NAME="ixAAC"></A> ecat -s size [-e][-n][-o][-b] - <I>domain:filename</I> <P> ecat <I>domain:filename</I> - <A NAME="lbAD"> </A> <H2>DESCRIPTION</H2> <A NAME="ixAAD"></A> Similar, but not identical, to UNIX/Linux <TT>"cat"</TT> command. The main difference is to make <B>ecat</B> symmetrical with regards to specifying the input and output. <P> Exactly two pathnames must be specified, one of which must be '-', representing standard-input (<FONT SIZE="-1">STDIN</FONT>) for the first pathname and standard-output (<FONT SIZE="-1">STDOUT</FONT>) for the second pathname. <P> <I>Note on resilience. Whereas </I><FONT SIZE="-1"><I>ECFS</I></FONT><I> generally tries its best to recover from errors, via retries, such recovery is often not possible with ecat, particularly when copying from standard input.</I> <A NAME="lbAE"> </A> <H2>OPTIONS</H2> <A NAME="ixAAE"></A> <DL COMPACT> <DT>*<DD> In the first instance, with the source being <FONT SIZE="-1">STDIN,</FONT> most options are the same as those in <B>ecp</B>. There is no '-t'/'-u' option, as there is no timestamp on the source. <DT>*<DD> The first instance requires an estimated size, in bytes, for the file. If this is not accurately known, then it should be a reasonable estimate. A slight overestimate is preferable to any underestimate. <DT>*<DD> In the second instance, with the destination being <FONT SIZE="-1">STDOUT,</FONT> there are no useful options. </DL> <A NAME="lbAF"> </A> <H2>EXAMPLES</H2> <A NAME="ixAAF"></A> <A NAME="lbAG"> </A> <H2>SEE ALSO</H2> <A NAME="ixAAG"></A> <I><A HREF="http://https://confluence.ecmwf.int/display/UDOC/Commands/ecfs">ecfs</A></I>(1), <I><A HREF="http://https://confluence.ecmwf.int/display/UDOC/Commands/ecp">ecp</A></I>(1) <P> <HR> <A NAME="index"> </A><H2>Index</H2> <DL> <DT><A HREF="#lbAB">NAME</A><DD> <DT><A HREF="#lbAC">SYNOPSIS</A><DD> <DT><A HREF="#lbAD">DESCRIPTION</A><DD> <DT><A HREF="#lbAE">OPTIONS</A><DD> <DT><A HREF="#lbAF">EXAMPLES</A><DD> <DT><A HREF="#lbAG">SEE ALSO</A><DD> </DL> <HR> This document was created by <A HREF="http://github.com/hamano/man2html/">man2html</A>, using the manual pages.<BR> Time: 14:3942:0007 GMT, July 23, 2018 </BODY> </HTML> |