Archive for September, 2009|Monthly archive page

Searching the contents of multiple 7-zip files

So around the time of the post I did about 7-zipping folders to individual zips I realised the built-in Windows search didn’t search within 7-zip files. Nor could I find any freeware or opensouce software that could do so, or at least that I was happy with.

7-zip can generate a file list of the contents of a 7-zip file. You can do this for multiple files spread across multiple folders using the following command:

"c:\Program Files\7-Zip\7z.exe" l * -r0 > filelist.txt

This way you can search within this text file for any files you may want to find within each 7-zip file. It’s not that elegant and has to be manually updated, but it does the job.