How to know % of read file in cat?
Luís Fernando Schultz Xavier da Silveira
schultz at ime.usp.br
Sun Mar 10 01:58:59 UTC 2013
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 at yahoo.es>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list