Skip to content

Script for categorizing directories & files based on file types.

License

Notifications You must be signed in to change notification settings

JowiAoun/DirClean

Repository files navigation

DirClean

Overview 👀

DirClean is a script for categorizing directories & files based on file types. This small project aims to extract best practices in coding, in general. This includes machine-agnostic builds with Docker, CI/CD pipelines, documentation, and clean commit messages.

DirClean supports almost all file extensions. All extension categories are defined from the Wikipedia page "List of file formats".

Technologies 🤖

  • Bash: sh-compatible shell full of features & built ins
  • Docker: Run tasks (such as lint) on a container, working on any machine
  • GitHub Actions: Run workflows to lint, build & push docker image
  • Pre-Commit: Run a pre-commit configs locally
  • ShellCheck: Tool for picking up warnings & shell script suggestions, run in the pipelines & pre-commit
  • Conventional Commits: Specification for naming commits

Configuration ⚙️

Configurating the new location of a file extension can be done by navigating to config/ext_mapping and looking up the extension.

License 📄

This project is under the MIT license. All details are attached within the license.

About

Script for categorizing directories & files based on file types.

Resources

License

Stars

Watchers

Forks

Packages

No packages published