(no title)
jauco | 7 months ago
using pv (pipeviewer) instead of cat to get a progress bar when grepping huge files.
Using httpie instead of curl so I can remember the flags.
The power of find -exec to run commands on a lot of specific files. The nice part is you can run it without exec first to see if you have the right set of files.
If you do a loop you can echo -e “$somevar\r” and then each write will overwrite the previous line so you screen doesn’t fill up but you do get a feel for the progress (to make it nice you need to pad with spaces, google for echo carriage return to learn more)
gaws|7 months ago
How does this work?
jauco|7 months ago
https://www.geeksforgeeks.org/linux-unix/pv-command-in-linux...
rajkumarsekar|7 months ago
scrapheap|7 months ago