I'm converting ~100 .hdf files to .tiff using gdal and getting some unfortunate naming conventions when using -sds
for %A in ("...\*.hdf") do gdal_translate -of GTiff -sds "%A" "%A.tiff"
However, it appears that it is first converting the files and then separating the subdatasets, therefore giving me file names like .tiff1, .tiff2, etc (completely useless).
Any suggestions on how to fix this within the same piece of code or with a simple second step?