file-group
v0.5.0
Published
Tiny software for aggregating files into folders using filter and group naming critereas
Downloads
6
Maintainers
Readme
File-group
Tiny script written in javascript to group the file system into folders. Given a directory and a choosen pre-built algorithm it use some criterias to filter and naming the director. In some ways, it works as a simplified version of GROUP operation in SQL world
Installation
Use npm to install file-group
npm install -g file-group
Usage
The only required option is the --aggregate | -a
which you specify the aggregation algoritm.
file-group -a name-date <directory>
Choosing an aggregator
You can one of pre-built aggregator algorithms
file-group --aggregator alphabetical <directory>
Aggregators
| Aggregator | description |
| ---------------------------- | :--------------------------------------------------------------------: |
| alphabetical
(default) | Group folders into alphabetical order from A to Z |
| name-date
| Match name followed by date format. eg. Best shorts - 2020-09-12.txt
|
Roadmap
The next step is to provide your own filter/naming (WIP) convention to perform the operation.
License
Project status
The current project is under development, thereof some features may contain some inconsistencies. ~~Please, checks the code coverage for more informations~~