Date: Mon, 22 Mar 2004 19:52:21 -0500 From: Adam Weinberger <adamw@FreeBSD.org> To: ports@freebsd.org Subject: Re: Portsupgrade Status Bar Message-ID: <20040323005221.GH87493@toxic.magnesium.net> In-Reply-To: <405F8BBA.7060906@cs.uiowa.edu> References: <405F8BBA.7060906@cs.uiowa.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>> (03.22.2004 @ 1958 PST): Jason Dusek said, in 0.4K: << > Hi All, > > Is there anyway to get a 'status bar' or 'percent complete' on > portupgrade? It seems to go for an awfully long time when I run it as > > # portupgrade -Rra > > and I would like to know when it will be done. >> end of "Portsupgrade Status Bar" from Jason Dusek << Hrmmn. Well, you can get a count of how many ports will be updated by: # portupgrade -n --all 2>/dev/null|grep Upgrading|wc -l (note that -Rr is superfluous when you're just using -a) Then, I suppose that you could use a * glob in AFTERINSTALL in pkgtools.conf to increment something, or add a line to a file and compare its length, or something like that. IOW, not really. But the first command minus the wc # portupgrade -n --all 2>/dev/null|grep Upgrading will give you a picture of how many -- and which -- ports are going to be updated. Alternatively, you could just portupgrade more often ;;) # Adam -- Adam Weinberger adamw@gnome.org \\oo// adamw@FreeBSD.org adamw@vectors.cx \\// adamw@magnesium.net http://www.vectors.cx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040323005221.GH87493>