Re: How to obtain the unrar overall progress report?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux