I have a fairly large music collection, which is 9.9 GB in size. It’s mainly made up of MP3 files, with some OGG Vorbis files and a handful of WAV and WMA files. I would like to convert the entire library to AAC (or a better format, if there is one) in order to reduce the size of my collection by a considerable amount.

My library is organised using this folder structure:

~/Music/{Artist}/{Album}/{Track}

Can anyone recommend a GUI tool or shellscript which would recursively convert the files, map across the metadata, and dump the files into a different folder with the same directory structure?

EDIT: I have used a script to convert everything to Opus. Problem solved, just working out the kinks now.

  • NX2@feddit.de
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year ago
    1. Don’t buy iPhone

    2. You need ffmpeg

    3. Read this for the exact command

    4. You can use the find command (in console) to list all mp3 files, these you can pipe into ffmpeg.

    Just ask ChatGPT to write the shell script for you

    • Hellfire103@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Already did that. Thanks though.

      By the way, owning an iPhone is not my choice. I’m 17 and still living with my parents, and my dad is a huge Apple fanboy. Ideally, I’d have either a Pixel with DivestOS, an Xperia with SailfishOS, a PinePhone with PostMarketOS, or an old Nokia 3210; but for now I’m stuck with my second hand iPhone SE.