>>887
どうせなら最初と最後にtputをまとめればもう少し簡単に

tput bold
find "$DIR" "$DIR2" \
\( -path "$DIR/A/*.png" -printf "$(tput setaf 6) %f " \) \
-o \( -path "$DIR/B/*.png" -printf "$(tput setaf 5) %f " \) \
-o \( -path "$DIR/*.png" -printf "$(tput setaf 1) %f " \) \
-o \( -path "$DIR2/*.png" -printf "$(tput setaf 5) %f " \)
tput sgr0