I am trying to make a script in bash that requires the removal of the the file extension from a file name, like the following
original: something.zip remov
If you want to remove the from the last period to the end, try this:
$ f=some.thing.zip $ echo ${f%.*} some.thing