title: Is there anyway to copy a file to a directory that does not exist?
body: <p>I would like to copy a file to a folder that does not exist by having <code>cp</code> create the destination folder and placing a source file into it.  Is this possible?  </p>
  
  <p>So here is an example, I have a file on my desktop called <code>temp.file</code>.  I would like to do this:</p>
  
  <pre><code>cp temp.file ./createThisFolder/
  </code></pre>
  
  <p>I looked through the man pages and didn't see anything.  The reason I want to do this is because I want to run a test on the directory later on.  If the directory doesn't exist I know there are no files waiting for me.</p>