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

Re: searching for files on cdrom



On Sun, 14 Mar 1999, Holger Mense wrote:

> Does someone know how to search the whole cd-rom for a special file, or,
> is their a possibility to list recursivly with "dpkg --contents" the
> contents of all(!) .deb-files on the cd-rom?
I got it myself with help from a friend...

root@comet:~ # for X in `find -name *.deb`; do echo $X; dpkg --contents
               $X | grep file_you_want_to_know; done >list.txt
root@comet:~ # less list.txt

... and then search for file_you_want_to_know.

I think it is possible to optimize this, but I am not very good in bash
script. Time for reading some docs... ;)


 
> P.S.: Or can someone tell me, in which package "msgfmt" is? :)
It's in gettext.

 CU, Holger

-- 
Holger Mense


Reply to: