Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. for f in "$@"
  2. do
  3. find "$f" -type f -exec file --no-pad --mime-type {} + 2>/dev/null
  4. | awk '$NF == "image/tiff" {$NF=""; sub(": $", ""); print}'
  5. done
  6.  
  7. mv -- "$f" "${f%}.tif"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement