Skip to content

Instantly share code, notes, and snippets.

@miketrebilcock
Created May 22, 2016 15:48
Show Gist options
  • Save miketrebilcock/f812d514c90662440824ee55fa2187fb to your computer and use it in GitHub Desktop.
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