Questions tagged [progress-information]
The progress-information tag has no summary.
39 questions
0
votes
0
answers
69
views
How to show make visible a tftp transfer progress in a script
I have a client app that launch in async mode a bash script that send a file to a TFTP server.
The issue is that I don't know how to show user the progress of this transfer, worst of all this ...
4
votes
3
answers
2k
views
Display progress for rsync with `--info=progress2` and `--files-from`
So I've been looking around for a while now and saw that rsync offers the insanely useful option --info=progress2 (from threads like this), which prints the overall update progress quite nicely. --no-...
0
votes
0
answers
37
views
How can I get the _real_ progress of dd, ignoring fast/staging buffers? [duplicate]
I'm using the dd command to write to a USB stick. My command is pretty straightforward:
dd if=myimage.iso of=/dev/sdd bs=1M status=progress
and indeed, I seem to be getting the progress reported:
...
0
votes
1
answer
340
views
How to read a command's output while it is running?
If a command were to output, say, a progress bar that updates live, until it stops, and I wanted to constantly obtain the percentage of said progress bar and display it in a GUI such as zenity, how ...
0
votes
1
answer
108
views
Pipeline progress report
Suppose I'm running a pipeline like this:
cat input.txt | foo | bar | baz | last_step > result.txt
Is there a way to make the shell print each step to stderr as it is executed?
I know that if the ...
0
votes
0
answers
209
views
estimating cp -r time
For a /data type folder that has gigabytes and thousands of files and sub folders, I will often do
tar -cf data.tar data {it was a 102gb tar file}
rsync -P data.tar /some_new_location
cd ...
0
votes
0
answers
49
views
How to wrap a process with an activity indicator?
I have a process which I'm running in a terminal session. The process prints nothing (or perhaps it prints a lot of junk which I redirect somewhere), and takes quite a while, e.g. a couple of minutes.
...
2
votes
1
answer
122
views
Is there any handy way to follow multiple piped commands' status output
Let's say I have serverA with a block device, the contents of which I want to move to serverB's block device via the computer I am working on as a relay. This is very handy with pipes, buffers, dd and ...
0
votes
1
answer
2k
views
How to add progress status of a downloading file in bash script
I want to show (regularly update) my download/upload progress of a file on my telegram bot.
I'm using aria2 for downloading and rclone for uploading. And all I'm using is bash/shell script.
aria2c $...
1
vote
1
answer
4k
views
Progress bar "dialog" to show progress based on command execution from function [duplicate]
How to make "dialog" progress bar increasing the counter, when each echo command is executed from function?
I have this code below as example, but I'm having problem of catching when command ...
1
vote
1
answer
1k
views
Hour glass/Progress while extracting large file from remote host in shell
I have a shell script, which is using unzip to get a very huge file from a remote directory to local directory within the shell. This operations taking pretty long time, roughly from 20-30 min.
#!/bin/...
0
votes
2
answers
2k
views
Rsync progress waits a long time after finish
When I am running rsync to copy big file (within directory on local hard drive)
+ rsync -P bigfile1.img bigfile2.img
bigfile1.img
6,512,705,536 100% 413.76MB/s 0:00:15 (xfr#1, to-chk=0/1)
it ...
0
votes
0
answers
68
views
How to show progress towards a directory reaching a certain size
I have a server to which I am copying large amounts of data using rsync and I would like to monitor progress on the server, not the client.
I know, for a given source directory on the client how much ...
3
votes
1
answer
1k
views
Show progress of a for loop after it was started
I started a for loop in an interactive bash session. For this question we can assume the loop was something like
for i in dir/*; do
program "$i"
done > log
The command takes a lot longer than ...
2
votes
1
answer
1k
views
A tool for monitoring progress and ETA of an arbitrary process
I'm looking for a tool that takes two arguments:
a command to execute, and
a target value
The tool should then run the command continuously, look for a number in the output of the command, and ...