by Luuk » Sun Oct 03, 2021 10:31 pm
This some different ways to experiment the same with having the free exiftool.exe, but its a command-line application!...
exiftool -ext png -fast4 -Testname"<${Filename;my $x;$x.= ['A'..'Z','a'..'z',0..9]->[rand 62] for 1..5;$_=$x}.png" "C:/Your/Folder/Path"
Conduct all .png files inside 'C:/Your/Folder/Path' without saving the original-names.
exiftool -r -ext png -fast4 -Testname"<${Filename;my $x;$x.= ['A'..'Z','a'..'z',0..9]->[rand 62] for 1..5;$_=$x}.png" "C:/Your/Folder/Path"
Cconduct all .png files at or below 'C:/Your/Folder/Path' without saving original-names.
exiftool -r -ext png -overwrite_original -Testname"<${Filename;my $x;$x.= ['A'..'Z','a'..'z',0..9]->[rand 62] for 1..5;$_=$x}.png" -Document"<Filename" "C:/Your/Folder/Path"
Conduct all .png files at or below 'C:/Your/Folder/Path' while saving the original-names inside of each file's $Document metadata.
Each command will only present a preview looking like... "Path/OldNames.png" --> "Path/NewNames.png".
So if ready and wanting to rename the files, you can then just change -Testname ===> -Filename.
The -fast4 tells exiftool.exe to not conduct any metadata, so then -overwrite_original isnt needed, because its just renaming files.
The -r does just say "recurse all folders", but there is also many other ways to only conduct certain sub-folders or files.