find . -type f -name "*.JPG" | \ | |
while read -r f;do [ -e "${f%.JPG}.MOV" ] && rm "${f%.JPG}.MOV";done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
find . -type f -name "*.JPG" | \ | |
while read -r f;do [ -e "${f%.JPG}.MOV" ] && rm "${f%.JPG}.MOV";done |