How to obtain the unrar overall progress report?

Patrick O'Callaghan pocallaghan at gmail.com
Sat Sep 13 19:39:24 UTC 2008


On Sat, 2008-09-13 at 12:29 -0700, Dan Thurman wrote:
> I am using fedora's "native" unrar for my python
> application - no dll version or whatever else is out there.
> 
> I have been trying to figure out how to obtain
> unrar's overall progress report for inclusion into my
> python code but so far I have not been successful.
> 
> I tried to turn off all of the comments except for
> the progress report and all I have so far is:
> 
> unrar x -ierr +o- $file | sed -e 's/.*\([0-9]\+\)[%]$/\1/
> 
> I have tried: -c-, -inul, and many other switches but
> none of these switches helped.
> 
> There is also a -id[c,d,p,q] command line
> option but this does not seem to work and this is
> option is not discussed in the man pages.

Perhaps if you give us a sample of output from the command (without the
sed filtering) someone can come up with something. Just a few lines
please, including any header lines.

poc




More information about the fedora-list mailing list