I'm new in batch files and in gdal, so I've been trying to run this script in .bat, BUT it keeps repeating one loop, so if I have 2 *.tif (utm1.tif and utm2.tif) files in the folder, it creates 3 .tif (testeutm1.tif, testeutm2.tif and testetesteutm1.tif), and one of the has the "testeteste" prefix, which means that is using one of the created tif.
I've already try a :end and a done, but nothing seems to work :((( of course i dont have just 2 .tif, its just an exemple.
My script:
echo on FOR %%I IN (*.tif) DO (gdal_translate -a_srs EPSG:31983 -of GTiff %%I teste%%I)
pause
Thanks a lot for the help :)