find . -name "*.flac" -print0 | xargs -0 file | grep -v "16 bit" | cut -d: -f1 | cut -d\/ -f1-2 | sort | uniq | tr '\n' '\0' | xargs -0 -t -I% tag -0 --add highres %
find . -name "*.flac" -print0 | xargs -0 file | grep -v "16 bit" | cut -d: -f1 | cut -d\/ -f1-2 | sort | uniq | tr '\n' '\0' | xargs -0 -t tag -0 --add highresI have still problems with special characters.