title: Extract RPM to directory other than current directory
body: <p>I am needing to run:</p>
  
  <pre><code>rpm2cpio mypackage.rpm | cpio -idmv
  </code></pre>
  
  <p>However, I need the output to be in a different directory. Is there a more elegant solution than doing </p>
  
  <pre><code>mv &lt;output&gt; &lt;to/other/directory&gt;
  </code></pre>
  
  <p>after performing the extraction?</p>