title: Linux zip doesn't maintain directory structure
body: <p>I have a directory I am trying to zip on Linux before sending it to Windows.</p>
  
  <p>I thought it worked with this command:</p>
  
  <pre><code>zip -r directory.zip directory
  </code></pre>
  
  <p>However when I looked at the directory it contained only the files, no folders. 
  It's as if the -j command is the default, which is confusing.</p>
  
  <p>I looked in the manual and I could not see any means of forcing it to maintain the directory structure in the zip.</p>
  
  <p>Any ideas?</p>