Created
August 13, 2013 09:01
-
-
Save helix84/6219252 to your computer and use it in GitHub Desktop.
copy an ID3v1 tag from input.mp3 to output.mp3 (which has no tag) * find out the size of input.mp3
* subtract 128 bytes
* dd the last 128 bytes and append them to output.mp3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i=input.mp3; dd bs=1 count=128 if=$i of=output.mp3 skip=$((`ls -l $i | cut -d ' ' -f 5` - 128)) oflag=append conv=notrunc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment