12 lines
221 B
Bash
Executable File
12 lines
221 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Fixing flac file $1"
|
|
|
|
echo "running command ffmpeg -i $1 -c:a flac -map_metadata 0 "fixed.flac""
|
|
|
|
ffmpeg -i $1 -c:a flac -map_metadata 0 "fixed.flac"
|
|
|
|
echo "moving fixed.flac to $1"
|
|
mv "fixed.flac" $1
|
|
|