A simple command-line tool written in Rust for batch editing FLAC file tags. It allows you to set, print, and interactively edit common metadata fields (such as artist, album, genre, track number, etc.) for all FLAC files in a directory.
- Batch edit tags for all FLAC files in a directory
- Set artist, album, album artist, genre, date, and more
- Print tags for all files
- Interactive editing for titles, track numbers, and disc numbers
- Install Rust (if you haven't already):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Clone this repository and build:
git clone https://github.com/yourusername/flactags-rs.git cd flactags-rs cargo build --release - Move the binary onto your
PATH.
Run the tool from the command line:
flactags [OPTIONS]--printPrint tags for all FLAC files--dir <DIR>Directory to scan (defaults to current directory)--album <ALBUM>Set album tag--artist <ARTIST>Set artist tag--album-artist <NAME>Set album artist tag--genre <GENRE>Set genre tag--date <DATE>Set date tag--titlesInteractively edit titles--track-numbersInteractively edit track numbers--disc-numbersInteractively edit disc numbers
Set the artist and album for all FLAC files in the current directory:
flactags --artist "My Artist" --album "My Album"Print all tags:
flactags --printInteractively edit track numbers:
flactags --track-numbersMIT