Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [[ "$#" -ne 2 ]]
  4. then
  5.         echo "Usage: $0 arg1 arg2"
  6. fi
  7.  
  8. inndir=$1
  9. utdir=${2%/}
  10. echo $inndir $utdir
  11.  
  12. max=$(find $inndir -regextype posix-extended -regex '.*\.(jpe?g|JPG)' | wc -l)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement