View Single Post
  #9   (View Single Post)  
Old 27th October 2017
demifiend's Avatar
demifiend demifiend is offline
Real Name: Matthew Graybosch
Silent Protagonist
Join Date: Oct 2017
Location: Harrisburg, PA
Posts: 29

Originally Posted by GarryR View Post
Something I wonder, how could I get it to add tmb to the name of the resized image.
So for example: parrot.jpg is parrot-tmb.jpg , the original still being parrot.jpg.
On one image at a time , it is easy enough. But with several images, I am not sure how
to tell it to add tmb to the resized images. Is that possible, ?
It should be possible. ksh(1) has a "Parameters" section that details how to manipulate strings such as file names. I'll have to tinker with it later.
OpenBSD 6.2-RELEASE on Thinkpad T430s, ThinkCentre M92P, and Clevo W24AEU
Web | Keybase | Mastodon | GitHub
"What happens in the TARDIS stays in the TARDIS."
Reply With Quote