#!/bin/bash find $PWD -name "*.png" -exec bash -c 'echo {} && exiftool -Comment="Edited by Paul Sherman for WPClipart, Public Domain" -overwrite_original_in_place {}' \; echo "All PNG Commented" find $PWD -name "*.jpg" -exec bash -c 'echo {} && exiftool -Comment="Edited by Paul Sherman for WPClipart, Public Domain" -overwrite_original_in_place {}' \; echo "All JPG Commented" for mf in $(find $PWD -name '*.webp') do webpmux -set xmp /backup/0_important_scripts/image_scripts/webp.xmp $mf -o $mf echo "$mf" done echo "All WEBPs Commented" echo "Done." play /usr/share/sounds/opcomp.wav