added tool to fix deprecated id3 tags in flacs

This commit is contained in:
Luke Tidd
2023-05-19 10:26:43 -04:00
parent 831034bd14
commit fb39957c34
4 changed files with 145 additions and 5 deletions

18
update_all_id3 Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
log_file="$1"
if [[ -z "$log_file" ]]; then
printf 'give a log file from encode_all\n' >&2
exit 1
fi
if [[ ! -r "$log_file" ]]; then
printf '%s isnt a readable log file.\n' "$log_file" >&2
exit 1
fi
time while read line; do
file="/$(cut -d/ -f2- <<< "$line")"
printf '%s\n' "$file"
done < "$log_file" | parallel -P 0 --bar ./flac_update_id3 {}