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

9
compare_flac_opus Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
flac_dir="${HOME}/flac"
opus_dir="${HOME}/opus"
#
printf 'flacs: %s\n' "$(find "$flac_dir" -name '*.flac' -type f | wc -l)"
printf 'opuses: %s\n' "$(find "$opus_dir" -name '*.opus' -type f | wc -l)"
# find "$opus_dir" -name '*.opus' -type f | sed -e "s,$opus_dir,$flac_dir," -e 's_\.opus$_\.flac_' | sort -V
printf 'diff:\n'
diff --suppress-common-lines -y <(find "$flac_dir" -name '*.flac' -type f | sort -V) <(find "$opus_dir" -name '*.opus' -type f | sed -e "s,$opus_dir,$flac_dir," -e 's_\.opus$_\.flac_' | sort -V)