Date: Mon, 11 Mar 2013 13:26:57 +0000 (GMT) From: Richard Tobin <richard@inf.ed.ac.uk> To: Eduardo Morras <emorrasg@yahoo.es>, freebsd-questions@freebsd.org Subject: Re: How to know % of read file in cat? Message-ID: <20130311132657.ECD016D0DB9@macavity.inf.ed.ac.uk> In-Reply-To: Eduardo Morras's message of Sat, 9 Mar 2013 10:54:00 %2B0100
next in thread | raw e-mail | index | archive | help
> 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. Use dd (see man page) instead of cat, and control-T will show you how much it has transferred. -- Richard -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130311132657.ECD016D0DB9>