Managing files in a cluttered directory can be challenging. Glam-Folders simplifies the process by organizing files into categorized subfolders. With this tool, you can easily group files by extensions, names, or creation dates, ensuring your directories remain clean and structured.
- Organize by extensions: Group files based on their extensions.
- Organize by names: Group files by their starting names.
- Organize by dates: Group files by their creation dates.
- Conflict resolution: Handles file naming conflicts automatically.
- Cross-platform: Compatible with Windows, macOS, and Linux.
-
Clone the repository:
git clone https://github.com/Victor1890/glam-folders cd glam-folders -
Install dependencies using
pnpm:pnpm install
If you don't have
pnpminstalled, you can install it usingnpm:npm install -g pnpm
You can use the tool with the following commands:
To organize files by their extensions, run:
pnpm run glam /path/to/directory --extTo group files by their starting names, run:
pnpm run glam /path/to/directory --nameTo organize files by their creation dates, run:
pnpm run glam /path/to/directory --dateTo ignore dotfiles when organizing, add the --ignore-dotfiles option:
pnpm run glam /path/to/directory --ignore-dotfilesYou can configure the application by setting environment variables as needed.
This project is licensed under the ISC License.