Re: Sökning i odt, doc, pdf - f iler

Anders Wallenquist <[email protected]>
Newsgroups gmane.linux.debian.user.swedish
Message-ID <[email protected]>
2014-03-12 21:26, Thomas Dahlén skrev:
> Hej!
> Jag har ett bra grepp om grep vad gäller sökning efter/i textfiler men 
> när det kommer till sökning av filer som sparats i format av typen 
> odt, doc, pdf med flera, har jag inte funnit någon lösning.
>
> Är det någon som vet ett sätt att i Debian fritextsöka i dylika 
> filformat?
>
> Mvh
> Thomas Dahlén
>
>
Dokumenthanteringen i exempelvis OpenERP använder ett antal olika 
omvandlingsprogram t ex pdf2text för att indexera upp dokumenten. Samma 
sak borde man kunna göra med grep. Ett enkelt bash-skript med en switch 
på filtyp och lämpligt omvandlingsprogram. File-kommandot är en bra 
lösning för att skilja ut olika filtyper. Leta efter [filtyp]2text eller 
[filtyp]2txt så finns det säkert bra omvandlingsprogram för det mesta.

Mvh
Anders W


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.