An open API service indexing awesome lists of open source software.

https://github.com/rchtgpt/rename-dirs

easily rename multiple directories using your terminal
https://github.com/rchtgpt/rename-dirs

cli-tool cli-utility command-line filesystem linux macos python rename-directories rename-files rename-folders windows

Last synced: 8 months ago
JSON representation

easily rename multiple directories using your terminal

Awesome Lists containing this project

README

          

# 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

```bash
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