Skip to content

Instantly share code, notes, and snippets.

@mirontoli
Created October 23, 2020 04:57
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mirontoli/8522293ed432442e79c012cd4af7b0d5 to your computer and use it in GitHub Desktop.
Save mirontoli/8522293ed432442e79c012cd4af7b0d5 to your computer and use it in GitHub Desktop.
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