MP3=${I/\.flac/.mp3}Here is a script that converts a folder of .flac files to .mp3:
#!/bin/sh for I in *.flac; do MP3=${I/\.flac/.mp3} ffmpeg -i "$I" "$MP3" done
MP3=${I/\.flac/.mp3}Here is a script that converts a folder of .flac files to .mp3:
#!/bin/sh for I in *.flac; do MP3=${I/\.flac/.mp3} ffmpeg -i "$I" "$MP3" done