Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for f in "$@"
- do
- find "$f" -type f -exec file --no-pad --mime-type {} + 2>/dev/null
- | awk '$NF == "image/tiff" {$NF=""; sub(": $", ""); print}'
- done
- mv -- "$f" "${f%}.tif"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement