multiplae folder filename change windows code example
Example 1: change all file to another
for f in *.txt; do
mv -- "$f" "$(basename -- "$f" .txt).text"
done
Example 2: batch rename file
REM # | EXAMPLE (changes the "ChangeMyName.txt" file's name to "NameChanged.csv")
rename "C:/Users/JacquesK/ChangeMyName.txt" "NameChanged.csv"
REM # | SYNTAX
REM # | rename "<file-to-change-the-name-of>" "<new-file-name>"