Skip to content

rustyxlol/Directorizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Directorizer

About

Super simple python script that moves files into categorized directories based on file names

Usage

Simply run the script and input source directory and categories that you want

> python3 directorize.py

Example:

.
└── source_directory/
    ├── docker fundamentals.pdf
    ├── python fundamentals.pdf
    └── machine learning with python.pdf

Running directorize.py with source_directory input and with categories docker,python input will create docker and python subdirectories and move files containing 'docker' and 'python' to their respective directories

.
└── source_directory/
    ├── docker /
    │   └── docker fundamentals.pdf
    └── python /
        ├── python fundamentals.pdf
        └── machine learning with python.pdf

Extras

Tree structures brought to you by: nfriend's tree generator

Contributions are welcome!

About

Move files into specified subdirectories

Resources

Stars

Watchers

Forks

Languages