title: Shell script to extract all zip files in a directory and its sub directory, and copy the extracted files into another folder with same hierarchy
body: <p>I have some zip files like below. </p>
  
  <pre><code>./etk/test/etf_time_series_am_update.zip
  ./etk/test/etf_time_series_am_delete.zip
  ./etk/dir1/etf_time_series_am_update.zip
  ./etk/dir1/etf_time_series_am_delete.zip
  ./etk/dir1/dir2/etf_time_series_am_update.zip
  ./etk/dir1/dir2/etf_time_series_am_delete.zip
  ./etk/dir1/dir2/dir3/etf_time_series_am_update.zip
  ./etk/dir1/dir2/dir3/etf_time_series_am_delete.zip
  </code></pre>
  
  <p>I want these files to unzip and store into the another folder. like </p>
  
  <pre><code>./newf/test/etf_time_series_am_update.txt
  ./newf/test/etf_time_series_am_delete.txt
  ./newf/dir1/etf_time_series_am_update.txt
  ./newf/dir1/etf_time_series_am_delete.txt
  ./newf/dir1/dir2/etf_time_series_am_update.txt
  ./newf/dir1/dir2/etf_time_series_am_delete.txt
  ./newf/dir1/dir2/dir3/etf_time_series_am_update.txt
  ./newf/dir1/dir2/dir3/etf_time_series_am_delete.txt
  </code></pre>
  
  <p>I tried with the find command and able to unzip, but couldn't copy in the destination folder.</p>
  
  <p>I tried to unzip by following command. but have no idea about copy into the destination folder.</p>
  
  <pre><code>find -name '*.zip' -exec sh -c 'unzip -d "${1%.*}" "$1"' _ {} \; 
  </code></pre>