I want to grep for today's date from zip file. How can do this?
I have a zip file called sen2616.z I want to get all the data for today's date 09.02.2014
I want to grep for today's date from zip file. How can do this?
I have a zip file called sen2616.z I want to get all the data for today's date 09.02.2014
Please use zipgrep
.
zgrep
is for gz files, not for zip files.
In my case zgrep
didn't work on a normal .zip
file. I had to use zipgrep
instead.
You can use zgrep
to get what you want, with:
zgrep '09.02.2014' myfile.zip
See man zgrep
for more info.