Date: Sat, 9 Mar 2013 22:52:47 -0300 From: =?iso-8859-1?Q?Lu=EDs?= Fernando Schultz Xavier da Silveira <schultz@ime.usp.br> To: freebsd-questions@freebsd.org Subject: Re: How to know % of read file in cat? Message-ID: <20130310015247.GA2681@g470> In-Reply-To: <20130309105400.b181e12aa222502974715a1b@yahoo.es> References: <20130309105400.b181e12aa222502974715a1b@yahoo.es>
next in thread | previous in thread | raw e-mail | index | archive | help
You might want to try the sysutils/pv port, which is a small program that works like cat, but provides a progress bar. On Sat, Mar 09, 2013 at 10:54:00AM +0100, Eduardo Morras wrote: > > Hello, > > I use cat to read a file and pass it to another app, the command is this: > > camibar% cat file.git | fossil import --git file.fossil > > It takes a lot of time, file.git is 12GB, and i want to know if there's some 'magic' trick can I use to show me how many bytes or the % of the file.git cat sent to the other app. > > Maybe cat isn't the correct tool? > > Thanks. > > > --- --- > Eduardo Morras <emorrasg@yahoo.es> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130310015247.GA2681>