Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash -e
- typeset -ag EXT=('gif' 'bmp' 'jpg' 'jpeg' 'png')
- for ext in ${EXT[@]}
- do
- for file in *.${ext}
- do
- if [[ ! -e ${file} ]]
- then
- continue;
- fi
- ./echo.sh ${file%.${ext}} ${ext}
- done
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement