title: Batch Copy Cover Art from One Song to Another (Identical File Names)
body: <p>I'm looking for a way to copy the album art from one set of songs to another set of the same songs that don't have the album art. FFMPEG copies the text tags (artist, album, title...) perfectly, but will not copy the embedded album artwork.</p>
  
  <p>I've been trying to batch convert my folder of MP3s into 128k AAC (using FFMPEG and the <code>libfdk-aac</code> codec) files to save space on my phone, but it hasn't copied my album art over to the new songs.
  I used the following batch command:</p>
  
  <pre><code>FOR /F "tokens=*" %%G IN ('dir /b *.mp3') DO ffmpeg -i "%%G" -c:a libfdk_aac -b:a 128k "%%~nG.m4a"
  </code></pre>
  
  <p>EDIT: I tried using the following command to test it out, because stream 0:0 is the audio, and stream 0:1 is the JPEG, however it did not work:</p>
  
  <pre><code>ffmpeg -i Estranged.mp3 -map 0:0 -map 0:1 -c:a libfdk_aac -b:a 128k -c:v copy Estranged.m4a
  </code></pre>
  
  <p>Here's a paste of the log: <a href="http://pastebin.com/dZFsvR7F" rel="nofollow noreferrer">http://pastebin.com/dZFsvR7F</a> (I know, it's not the latest version. I had trouble compiling it myself but I'm currently working on it.)</p>
  
  <p>Is there a way to copy the album art (or entire tag, if need be) from songs with an identical name in one folder to the songs in the new folder?</p>
  
  <p>I.E. <code>C:\Folder1\song.mp3</code> → <code>C:\Folder2\song.m4a</code></p>
  
  <p>Thanks.</p>