Skip to content

This script recursively renames files, folders, subfolders and removes a supplied substring from all file names.

Notifications You must be signed in to change notification settings

Afnaan-Ahmed/recursive-rename-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

recursive-rename-script

What this is all about

I once downloaded a zip file containing multiple files and folders, many of the file and folder names contained the name of the distributor and it made the files look cluttered and I wanted to clean it up. But there were simply too many files and subfolders that needed to be changed, so I wrote a python script instead!

Usage

  1. Place the script (clean.py) in the root folder of the extracted archive (the folder containing the branded files and folders).
  2. Edit the script and change the watermark string to whatever substring you want to remove from the filenames
  3. Run the script (don't run it the actual root directory of your system!)

About

This script recursively renames files, folders, subfolders and removes a supplied substring from all file names.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages