Open Vosjedev opened 6 months ago
--percentage
already presents something... but you probably want more...
I've not seen any machine-readable format for this... is there any out there? we should start by defining one if not...
As I said, I once wrote this which parses the output. I would rather have an option in axel itself to display only the bar.
The problem with my script is that it removes the ability to view the progress of the individual connections. If a machine-parsable format allows that, I'm oke with that. I suggest ouputting one line at a time, containing multiple fields seperated by tab character (so it's eazily usable with cut
). The fields could be like this (I used comma as seperator here for clarity):
total percent, speed, estimated time left, a percentage field for each connection
I would like an option that only displays the progress bar with the info on the left and right, so the output of axel only takes up one line.
So it would be like this:
I would use it in a script that downloads a lot of files, to not have that much output on every file, just the progress on the current file and the progress bar on the previous ones. I already tried this by redirecting the output to a
while read -r line
loop printing only the lines of the progress bar, but it seems like axel uses a default width when redirected (of which I can understand why).