Skip to content

vishnuchittamuru/rename_part_of_files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published