Skip to main content

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_initial_folder_structure
  • Final folder structure:
screenshot_final_folder_structure

Metadata

Release files for rename-dirs 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rename-dirs 2.0.0
File Size Uploaded
rename-dirs-2.0.0.tar.gz 2.9 kB Details

Release files / rename-dirs-2.0.0.tar.gz

Download URL rename-dirs-2.0.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
322ce0f7ff34797947d4c06b6c3ef35c444c594bb82ce7490ba6615aa3997fdb
BLAKE2b-256 checksum
How to use checksums
6e05edc70cdf0ee5bfb8b2848583e362e75d80cf03d182a66795930b4463812b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

2.0.0 This release

1 release file

1.2.0

3 release files

1.1.0

2 release files

1.0.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page