Небольшой скрипт, который пробегается по названиям файлов и ищет кириллические символы, если вдруг была опечатка.
- dir ( string ) - название директории, где искать файлы,
- verticalResult ( boolean ) - по умолчанию true, выводит имя каждого файла вертикально в консоли, в противном случае, каждый новый файл с новой строки, т.е если несколько опечаток в одном файле, то выведит их в данном случае в строку.
A small script that goes through the file names and looks for cyrillic characters if there was a typo.
- dir (string) - name of the directory where to search for files,
- verticalResult (boolean) - by default true, displays the name of each file vertically in the console, otherwise, each new file on a new line, that is, if there are several typos in one file, in this case, it will display them in a line ...
Результат/Result