Skip to content

Instantly share code, notes, and snippets.

@miketrebilcock
Created May 22, 2016 15:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save miketrebilcock/f812d514c90662440824ee55fa2187fb to your computer and use it in GitHub Desktop.
i=1; while true; do fn=$(printf "%05d" $i); if [[ ! -e "img_$fn.jpeg" ]]; then echo "File not found: $fn"; fi ; i=$(expr $i + 1); done | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment