View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-06-2010, 02:05 PM   #31
LQ Newbie
Registered: Nov 2009
Posts: 17

Original Poster
Rep: Reputation: 0

Originally Posted by David1357 View Post
I guess I was assuming you would change your script to be something like this
unrar-command | sed -e 's/\([0-9]*\)%/\n\1\n/g'
) |
zenity --progress \
--title="Actualizando los registros del sistema" \
--text="Rastreando los registros de los correos..." \

if [ "$?" = -1 ] ; then
zenity --error \
--text="Actualización cancelada."
Oh, i did that.

It looks like the problem is related to how unrar outputs the information.

It was actually like this:

~/xtractor/unrar x "$fullName" "$fullFolder/" | sed -e 's/\([0-9]*\)%/\n\1#\n/g' | (zenity --progress --auto-kill --text="Extracting...")

(noticed there is a difference between this sed command and the other)

But as i said, it would wait for unrar to end, and then would do a very beautiful update.

I did not use the GREP.

Last edited by kwanbis; 01-06-2010 at 02:10 PM.


echo, nautilus, scripts

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
suse 11.1 nautilus scripts not working NewDisciple SUSE / openSUSE 6 02-15-2009 02:10 PM
KDE equivalent of nautilus scripts? lethargy Linux - Software 2 12-27-2006 07:16 AM
Nautilus scripts Menu flebber Linux - General 1 11-28-2006 08:10 AM
Scripts in Nautilus 2.6 bramadams Slackware 1 07-26-2004 10:15 AM
gnome nautilus scripts verstapp Linux - Newbie 0 03-12-2004 05:43 AM

All times are GMT -5. The time now is 01:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration