From a7fca1c9fa5500e1faf526f961eb190415261b14 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 20 Jan 2026 19:13:31 +0100 Subject: Rewrite 7digital in haskell --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4ec1498..5a86041 100644 --- a/README.md +++ b/README.md @@ -8,22 +8,22 @@ The repository contains a collection of random scripts and short programs. # Contents -1. [7digital.rb](#7digitalrb) +1. [7digital](#7digital) 2. [cross\_toolchain.rb](#cross_toolchainrb) 3. [rename.rb](#renamerb) 4. [pg\_jekyll.rb](#pg_jekyllrb) 5. [locopy](#locopy) 6. [tea-cleaner](#tea-cleaner) -## 7digital.rb +## 7digital 7digital sells digital music but they can't handle files with non-English names. -`bin/7digital.rb` takes 2 arguments, a zip archive with audio files and a target +`7digital` takes 2 arguments, a zip archive with audio files and a target directory. It extracts the archive into the directory and renames its contents -according to the meta information saved in the audio files. The audio files are -expected to be in 2 directories, the artist and album directories. These -directories are also renamed. +according to the meta information saved in the audio files. The audo file format +is "{2-digit track number} - {song title}.{extension}". Each file is put into +a subdirectory named after the album. ## cross\_toolchain.rb -- cgit v1.2.3