Re: How to obtain the unrar overall progress report?

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

 



Patrick O'Callaghan wrote:

On Sat, 2008-09-13 at 13:09 -0700, Dan Thurman wrote:
> # unrar x -ierr -o+ ~dant/Desktop/foo.rar \
>     | sed -e 's#\([0-9]\+\)[%]$#\1#'

As I said, please send the output *without* enabling the 'sed' filter.

Hint: use 'head', e.g.:

# unrar x -ierr -o+ ~dant/Desktop/foo.rar| head 20 > capture

# unrar x -ierr -o+ ~dant/Desktop/foo.rar | head 20 >  capture
head: cannot open `20' for reading: No such file or directory
-rw-r--r-- 1 root root             0 2008-09-14 06:15 capture

# unrar x -ierr -o+ ~dant/Desktop/foo.rar | head -n 20 >  capture
-rw-r--r-- 1 root root             0 2008-09-14 06:20 capture

# unrar x -ierr -o+ ~dant/Desktop/foo.rar 2>&1 | head -n 20 >  capture
=====================================================================
UNRAR 3.71 beta 1 freeware      Copyright (c) 1993-2007 Alexander Roshal


Extracting from /home/dant/Desktop/foo.rar

Extracting foo/cd1/Track01.flac ^H^H^H^H 0%^H^H^H^H^H OK Extracting foo/cd1/Track02.flac ^H^H^H^H 0%^H^H^H^H 1%^H^H^H^H 2%^H^H^H^H 3%^H^H^H^H 4%^H^H^H^H^H OK Extracting foo/cd1/Track03.flac ^H^H^H^H 4%^H^H^H^H 5%^H^H^H^H 6%^H^H^H^H 7%^H^H^H^H 8%^H^H^H^H^H OK Extracting foo/cd1/Track04.flac ^H^H^H^H 8%^H^H^H^H 9%^H^H^H^H 10%^H^H^H^H^H OK Extracting foo/cd1/Track05.flac ^H^H^H^H 10%^H^H^H^H 11%^H^H^H^H 12%^H^H^H^H 13%^H^H^H^H 14%^H^H^H^H^H OK Extracting foo/cd1/Track06.flac ^H^H^H^H 14%^H^H^H^H 15%^H^H^H^H 16%^H^H^H^H 17%^H^H^H^H^H OK Extracting foo/cd1/Track07.flac ^H^H^H^H 17%^H^H^H^H 18%^H^H^H^H 19%^H^H^H^H 20%^H^H^H^H 21%^H^H^H^H 22%^H^H^H^H 23%^H^H^H^H^H OK Extracting foo/cd1/Track08.flac ^H^H^H^H 23%^H^H^H^H 24%^H^H^H^H 25%^H^H^H^H 26%^H^H^H^H 27%^H^H^H^H^H OK Extracting foo/cd1/Track09.flac ^H^H^H^H 27%^H^H^H^H 28%^H^H^H^H^H OK Extracting foo/cd1/Track10.flac ^H^H^H^H 28%^H^H^H^H 29%^H^H^H^H^H OK Extracting foo/cd1/Track11.flac ^H^H^H^H 29%^H^H^H^H 30%^H^H^H^H 31%^H^H^H^H 32%^H^H^H^H^H OK Extracting foo/cd2/Track01.flac ^H^H^H^H 32%^H^H^H^H 33%^H^H^H^H 34%^H^H^H^H 35%^H^H^H^H 36%^H^H^H^H^H OK Extracting foo/cd2/Track02.flac ^H^H^H^H 36%^H^H^H^H 37%^H^H^H^H 38%^H^H^H^H 39%^H^H^H^H 40%^H^H^H^H^H OK Extracting foo/cd2/Track03.flac ^H^H^H^H 40%^H^H^H^H 41%^H^H^H^H^H OK
=====================================================================

Dan

--
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