I'm new to Unix and am trying to extract specific pattern filename from the multiple zip files. I'm using
find to find the zip files, and then trying to extract files having the filename CTL in the zip file,
$ unzip -jn 'find $source_dir -mtime -$st_d -daystart -iname "a*zip"' \ *CTL* -d $target_dir`
Other than this I tried using:
$ find -type f -newermt $start_date \! -newermt $end_date -name "a*zip" \ | while read filename; do unzip -d $target_dir; done;`
but this is extracting all the files, but I'm looking for only those files, which have filename CTL.