View Single Post
Old Mar 10th, 2005, 9:48 AM   #1
draco2002
Newbie
 
Join Date: Mar 2005
Posts: 2
Rep Power: 0 draco2002 is on a distinguished road
bash progress bar (freebsd/ portsdb -Uu)

here is the situation

running

#portsdb -Uu

on freebsd takes a while, and doesn't give you a progress status, but

if you type

#ps | grep "DIRPR"

you get back what folder it is currently on

5650 p1 IL+ 0:01.27 make -B describe DIRPRFX=net/
22050 p1 IL+ 0:00.07 make -B describe DIRPRFX=science/

so what i want to be able to do is have a script that polls this command and lets you know how far along portsdb is by checking what the DIRPRFX is and where it is in the alphabet.

Any help would be greatly appreciated

Thanks in advance
draco2002 is offline   Reply With Quote