Created
April 17, 2021 09:30
-
-
Save deviationist/2d3435b964e00ae7228e7255a9e81e12 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/bin/bash | |
| find . -type f -name "*.flac" | while read line; do | |
| newFilename="${line/%flac/aiff}" | |
| ffmpeg -y -nostdin -i "${line}" -write_id3v2 1 -c:v copy "${newFilename}" | |
| rm "${line}" | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment