change-extention-ignore.bat <directory> <target> <new-extention> [<ignored-files>]
To ignore more than one file specify the filenames separated by /
.
We want to change files' extention in ./Test/
from .txt
to .bat
, but preserve extention of test-ignore.txt
.
├───Test
│ test-ignore.txt
│ test1.txt
│ test2.txt
│ test3.txt
> change-extention-ignore.bat Test *.txt .bat test-ignore.txt
test1.txt renamed to test1.bat
test2.txt renamed to test2.bat
test3.txt renamed to test3.bat
```