Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. find . -name "*.ppm" | while read line
  2. do ts=$(echo $line | awk -F . '{print $3}')
  3. rt=$(expr $ts \* 1)
  4. rt="${rt} fs"
  5. echo $rt
  6. convert -font helvetica -fill white -pointsize 36 -draw "text 80,50 '$rt'" $line foo.$ts.jpg
  7. done
  8.  
  9. mkdir img_seq
  10. mv *.jpg ./img_seq/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement