I have a folder cnt
, where inside I have
a/estimate.txt
a/otherFolder/....
b/estimate.txt
b/otherFolder/...
...
z/estimate.txt
z/otherFolder/..
I want to have a zip containing
a/estimate.txt
b/estimate.txt
...
z/estimate.txt
Currently I am using zip -r cnt.zip cnt
which zip many things include otherFolder
that I don't want.
How to achieve of what I mention in question?