title: Find all zips, and unzip in place - Unix
body: <p>I have been trying for some time and believe I am fairly close to this, but I am fairly new to Unix so have been finding this difficult.</p>
  
  <p>I have a folder, containing many folders, some of which have zip files in them, some which don't. I am trying to unzip all of the zip files in any sub directories in place.</p>
  
  <p>For example I have:</p>
  
  <p>files/A/something.java</p>
  
  <p>files/B/somezipfile.zip</p>
  
  <p>files/C/someotherfile.zip</p>
  
  <p>files/D/AnotherZipFile.zip</p>
  
  <p>I would like to unzip them (assuming the zips contain just .java files), to have a result like:
  files/A/something.java</p>
  
  <p>files/B/javafile.java</p>
  
  <p>files/C/someotherfilefromzip.java</p>
  
  <p>files/D/Anotherfile.java</p>
  
  <p>I don't mind if the ZIP files remain or are deleted after unzipping, either is fine.</p>
  
  <p>What I have tried so far.</p>
  
  <p>1) I expected I could use piping, which I am new to, like this:</p>
  
  <pre><code>find . -name *.zip | unzip
  </code></pre>
  
  <p>This doesn't work.</p>
  
  <p>2) I spent some time searching, the closest I got using a solution online is:</p>
  
  <pre><code>find . -name '*.zip' -exec unzip '{}' ';'
  </code></pre>
  
  <p>This unzips, but unzips them into the current working directory, I wanted them to unzip in place. I also don't understand this command which I would like to as I am trying to learn.</p>
  
  <p>Any help is much appreciated.</p>
  
  <p>Thanks,</p>