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.

Advertisements

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: