ahmedre said:

ahmedre

`i=foo.jpg echo ${i/.jpg}` would remove the .jpg extension from i, thus returning foo. useful for renaming file extensions in a loop.

8 months, 2 weeks ago.

No comments so far

Sign in to add a comment