Skip to content

A python script to modify files inside a given directory based on a regular expression pattern and a substitution pattern.

Notifications You must be signed in to change notification settings

stijnvanbever/modifyfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

modifyfiles

A python script to modify files inside a given directory based on a regular expression pattern and a substitution pattern.

Usage

Change the variables at the top of the script and run using Python 3.

Dependencies

  • python3

Note

This is a small project I created to learn a bit of Python and play with regular expressions. Facebook has a similar tool that is much more advanced. This can be found here: https://github.com/facebook/codemod

About

A python script to modify files inside a given directory based on a regular expression pattern and a substitution pattern.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages