Created
December 28, 2023 04:39
-
-
Save niskala5570/81c9976680140ea784f2c2ccea7e1617 to your computer and use it in GitHub Desktop.
Font Renamer by Name Data IDK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SetLocal EnableDelayedExpansion | |
Rem Taken from https://superuser.com/questions/1488164/batch-script-to-replace-otf-file-names-with-title | |
Rem Make sure you have exiftool in your path. (See link above) | |
Rem Specify here the path where your fonts are: | |
set FontsPath = D:\Niskala%'s Void\Font\Arabic\A-TobeRenamed | |
for %%a in (%FontsPath%*) do ( | |
for /f "Delims=" %%b in ('exiftool -s3 -FontName "%%a"') do ren "%%a" "%%b%%~xa" | |
) | |
echo. | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment