I have a number of tiff files named:  sw.001.tifsw.002.tif...and I want to remove the .tif at the end of each of the files.  How can I use the rename command to do this?
How to rename multiple files by removing the extension?
rename
perl's rename (as typically found on Debian where it's also called prename), or this derivative (rename package on Debian):rename 's/\.tif$//' *.tifutil-linux rename (as typically found on Red Hat, rename.ul on Debian):rename -- .tif '' *.tif(note that that one would rename blah.tiffany.tif to blahfany.tif)