5

Find a file in lots of zip files (like find command for directories)

view full story
linux-howto

http://unix.stackexchange.com – I need to search for a file in all zip files in a directory. Is there a tool like find that be able to search in ZIP files? I tried this: find /path/ -iname '*.zip' -print -exec unzip -l {} \; |grep -i '<filename>' But this only prints path of file in zip file and not the zip file name itself! Thanks (HowTos)