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 Provenance Actions
rename-dirs-2.0.0.tar.gz 2.9 kB Without provenance Details for rename-dirs-2.0.0.tar.gz

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

Security for rename-dirs 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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