Skip to main content

A python script to rename multiple directories to lowercase words with underscore separators.

Project description

Rename Dirs

A python script to rename multiple directories to lowercase words with underscore separators.

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. Thought automating the renaming process would make my life easier.

Format

Example File.txt -> example_file.txt

Installation

$ pip install rename-dirs

Example

  • Run $ python -m rename-dirs
  • Enter directory path.
  • Initial folder structure:
Screenshot 2021-01-31 at 2 19 49 PM
  • Enter Y/n for each file/folder:
Screenshot 2021-01-31 at 2 21 08 PM
  • Final folder structure:
Screenshot 2021-01-31 at 2 20 35 PM

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rename-dirs-1.0.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

rename_dirs-1.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file rename-dirs-1.0.0.tar.gz.

File metadata

  • Download URL: rename-dirs-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for rename-dirs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 505455934709df0243ccc0242e185eb9f7cde8f344f65820229909bdfce62822
MD5 14ed5e407a571ba25e52fa92ec6b409b
BLAKE2b-256 bd0fe8f73c00216f1a44abd99ec3e1c9d4b15362ddcb0c62ca97ff9025f7a7ed

See more details on using hashes here.

File details

Details for the file rename_dirs-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: rename_dirs-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for rename_dirs-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2655200cfdeaef99a737b090734dcd5a1c08881975d7ebede0b5e017b3716500
MD5 896733cf2ad101b4456cde9025aecec2
BLAKE2b-256 583462272e6ced920f8b70b8b5fb536c13504a86a8a859e7ad9a11d3c5f64214

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page