Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash -e
- typeset -i i
- typeset -i count=0
- for ((i = 0; i < 1000; i++)); do
- file=$(printf '%03d' $i)
- if [ ! -e ${file} ]; then
- echo ${file}
- ((count++))
- fi
- done
- echo "Missing ${count} files."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement