22 Apr 2015 11:53:25 UTC
- Distribution: App-eta2zero
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Testers (444 / 1 / 10)
- KwaliteeBus factor: 1
- % Coverage
- License: perl_5
- Perl: v5.10.1
- Activity24 month
- Download (13.48KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionPERLANCAR perlancar
- SEE ALSO
- COPYRIGHT AND LICENSE
eta2zero - Display countdown progress bar
This document describes version 0.03 of eta2zero (from Perl distribution App-eta2zero), released on 2015-04-22.
% eta2zero 'command-that-produces-a-number'
Suppose in one terminal you're deleting files in a large directory, which might take a while. You can open another terminal,
cdto that directory, and type:
% eta2zero 'find -mindepth 1 | wc -l'
It will display a progress bar with ETA:
This script is inspired by the shell version created by Chris Lamb: https://chris-lamb.co.uk/posts/calculating-eta-to-zero-in-shell
Please visit the project's homepage at https://metacpan.org/release/App-eta2zero.
Source repository is at https://github.com/perlancar/perl-App-eta2zero.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-eta2zero
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
This software is copyright (c) 2015 by email@example.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install App::eta2zero, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install App::eta2zero
For more information on module installation, please visit the detailed CPAN module installation guide.