From d063429e251cf9b216407a0fff08f50bc16c3fe9 Mon Sep 17 00:00:00 2001 From: moex3 <46636583+moex3@users.noreply.github.com> Date: Sun, 14 Mar 2021 00:18:58 +0100 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e3fad05..7c30c1c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ # flac-mass-transcode -A script to transcode flac to opus +It will find every flac file and transcode them to opus files, while keeping the directory structure, adding album covers where possible. If another type of music file is found, like mp3's, it will be copied over without transcoding. + +# Usage +```bash +./flac-mass-transcode ~/music_input_dir ~/music_output_dir +``` + +## The --uplevel flag +Let's say you only want to copy over 1 album, while keeping the directory. -u 1 can be used for that. For example. +```bash +./flac-mass-transcode ~/music/album ~/output +``` +This would put every file in album under output. + +```bash +./flac-mass-transcode -u 1 ~/music/album ~/output +``` +This will create an album directory under output, and put the files there.