title: Copy if different and rename as date and timestamp
body: <p>So I have a file that I want to copy if it has been modified. I want to save it as date and time in it's new location. </p>
  
  <pre><code>mv my_file.db $(date +%F)
  </code></pre>
  
  <p>This command will move it and set the date as the name, but it removes the extension. I have 3 different file extensions I want to move. I also want to have the timestamp as I will be copying multiple times per day.</p>
  
  <p>Input:</p>
  
  <pre><code>sdfgdg.a
  abdfgs.b
  dfgdfg.c
  </code></pre>
  
  <p>So by running...</p>
  
  <pre><code>mv * ../Folder
  </code></pre>
  
  <p>Should produce:</p>
  
  <pre><code>Folder/sdfgdg-2015-01-02-14:50:00.a
  Folder/abdfgs-2015-01-02-14:50:00.b
  Folder/dfgdfg-2015-01-02-14:50:00.c
  </code></pre>