Skip to content

Instantly share code, notes, and snippets.

@KernelGhost
KernelGhost / rockbox_converter.sh
Last active August 24, 2026 23:18
A bash script that produces MP3 files containing track metadata and embedded album art in a format compatible with iPod Classics running Rockbox.
#!/usr/bin/env bash
################################################################################
# Name: rockbox_converter.sh
# Authors: Rohan Barar
# Revision: 19/11/2025 (DD/MM/YYYY)
# Purpose: Recursively traverse a given input directory to convert all supported
# audio files to 'Rockbox' compatible MP3 files, with a focus on
# ensuring both track metadata (e.g. Title, Artist, Album, etc.) as
# well as embedded album/cover are displayed correctly by Rockbox.
# Usage: ./rockbox_converter.sh <input_dir> <output_dir>