Batch Convert Slides from TIF to JPG then rename files

I have been using a free utility, TIFF to JPG, to convert digital slides scanned by an Epson 850 scanner using SilverFast software.  

The utility does local batch conversions, offline.  The utility is fast, easy to use, and it lives here on tifftojpg.com.

The only problem with the conversion, for me, is that the JPG filenames all have a trailing '0' added to the name. 

Here is the PowerShell with the regex required to fix this particular file naming issue after the conversion runs.

CD D:\xfer\JPEG

Get-ChildItem -Filter "*0.jpg" -Recurse | Rename-Item -NewName {$_.name -replace '0.jpg','.jpg' }

Credit for the PowerShell idea: TechNet

Comments

Popular Posts