/rename_part_of_files

Replace a part of all filenames with another string

Primary LanguagePythonMIT LicenseMIT

Rename files Replacing a part of file names with another

Replace a part of all filenames with another string

THe script, by default, replaces any (.txt files) file names that contain a '-' with the text replaced

Python script

place the py script in the folder you want to rename the files of

run the following a command prompt

python directory.py

Powershell script

place the ps1 script in the folder you want to rename the files of

run the following in a powershell termianl

.\directory.ps1