Originally Posted by
TheFu
1) Try it. What does it do?
2) explainshell.com - check it out. It will help greatly.
YMMV. That means it works for my needs, but may not work for yours. I think it is close to what you want, but only you can decide BY TRYING IT.
HI@TheFu
Performed following steps;
1) create following folders
~/Music/MP3_ripped_on_CDs/CD-1
2) on Terminal run
$ cd ~/MP3_ripped_on_CDs/CD-1/
3)
$ abcde -a cddb,read,encode,tag,move,clean -d /dev/cdrom \
> -j 4 -o flac,vorbis:"-q 6" -V -x
Code:
[ERROR] abcde: flac is not in your path.
[INFO] Define the full path to the executable if it exists on your system.
[INFO] Hint: sudo apt-get install flac
4)
$ sudo apt install flac
5)
Ran the command lines again
This time it worked, converting all tracks on the CD to .flac and .ogg files
Code:
01.Track_1-Track_1.flac
01.Track_1-Track_1.ogg
02.Track_1-Track_1.flac
02.Track_1-Track_1.ogg
03.Track_1-Track_1.flac
03.Track_1-Track_1.ogg
.....
......
There are 99 tracks on the CD. After finished the CD was ejected automatically.
01.Track_1-Track_1.flac
and
01.Track_1-Track_1.ogg
are same files
Is there any way to convert all tracks to .mp3 files only.
Thanks
Regards
Edit
===
Following command line can convert all .ogg files to .mp3 files
Code:
for i in *.ogg; do ffmpeg -i "$i" -acodec libmp3lame "${i%.*}.mp3"; done
Following solution is NOT an ideal one
Code:
for i in *.ogg; do ffmpeg -i "$i" -acodec libmp3lame "${i%.*}.mp3"; done
| rm *.ogg | rm *.flac
Bookmarks