Skip to content

easily rename multiple directories using your terminal

License

Notifications You must be signed in to change notification settings

rchtgpt/rename-dirs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rename Dirs

A python script to rename multiple directories in a uniform format.

Why?

I like to keep my PC's folder structure neat and uniform but, during intense hackathons, i mess up my project's folder name format. And so, automating the renaming process made my life a little easier.

Format Options

  • Example File.txt

  • Example-File.txt

  • Example-file.txt

  • Example_File.txt

  • example file.txt

  • example-file.txt

  • example_file.txt

Installation

pip install rename-dirs

Example

  • After installing, run rename-dirs
  • Enter directory path:

screenshot_enter_dir_path

  • Choose file name format:

screenshot_file_name_format

  • Enter Y/n for each file/folder:

screenshot_yes_no_file

  • Initial folder structure:

screenshot_final_folder_structure

  • Final folder structure:

screenshot_initial_folder_structure