[sanniolug] Re: comando

  • From: Massimiliano Mirra <list2@xxxxxxxxxxxxxxxxx>
  • To: sanniolug@xxxxxxxxxxxxx
  • Date: Fri, 11 Jun 2004 20:42:11 +0200

Angelo <magheggio@xxxxxxxx> writes:

> Vorrei sapere se c'è un comando utile per cercare un
> file all'interno di un gruppo di archivi jar ed

I jar non sono altro che ZIP.  Esempio:

bard@prism:~$ for ARC in /usr/lib/mozilla-firebird/chrome/*.jar; do unzip -l 
$ARC | grep plugins.xul && echo $ARC; done
     1500  08-26-03 00:21   content/browser/pref/plugins.xul
/usr/lib/mozilla-firebird/chrome/browser.jar

Oppure puoi sempre aprire i file uno a uno con Winzip e scorrere la
lista dei contenuti.  D'altronde le GUI sono il futuro...


Other related posts: