title: Extracting a symlinked zip file's content within a directory with same name as symlink
body: <p>I have a zip file name <code>app.zip</code> which has multiple symlinks named <code>kafka.zip</code>, <code>hdfs.zip</code> etc. can be anything.</p>
  
  <pre><code>$ll
  lrwxrwxrwx  1 xyz xyz    7 Mar  2 13:35 app.zip
  lrwxrwxrwx  1 xyz xyz    7 Mar  2 13:35 hdfs.zip -&gt; app.zip
  lrwxrwxrwx  1 xyz xyz    7 Mar  2 13:23 kafka.zip -&gt; app.zip
  lrwxrwxrwx  1 xyz xyz    7 Mar  2 13:35 myapp.zip -&gt; app.zip
  </code></pre>
  
  <p>When I extract any symlinked zip file, it creates a directory with the original file name, see below:</p>
  
  <pre><code>$ unzip kafka.zip 
  Archive:  kafka.zip
     creating: app/
   extracting: app/my.properties       
   extracting: app/my.sh      
  </code></pre>
  
  <p>I want it to be extracted with the symlink name, i mean if i am extrating kafka.zip then the directory name should be kafka instead of app.</p>