Application to handle and modify files for common scenarios. System wide.
Using simple pipelines, designed to be easily created & monitored from your CLI.
Folden is meant to allow anyone to easily apply common logic to specific directories.
Not recommended currently for production critical or overtly complex operation needs.
After installing Folden, the application service runs in the background.
Use the folden
command to apply and check directories being handled (as long as the service is up).
- Create a *new pipeline file (Be sure to modify the file itself accordingly):
USAGE:
folden generate [FLAGS] [OPTIONS] [--] [path]
OPTIONS:
--actions <actions>... [possible values: runcmd, movetodir]
--events <events>... [possible values: create, modify]
ARGS:
<path> File path. Leave empty to generate default name.
* Alternatively check out the example pipeline files for common use cases
- Register pipeline to directory:
USAGE:
folden register [FLAGS] [OPTIONS] <FILE> [directory]
ARGS:
<FILE> Handler pipeline configuration file
<directory> Directory to register to. Leave empty to apply on current.
- That's it! You can interact with registered handlers (be sure to check out all options using
--help
):
folden status ...
folden start ...
folden stop ...
folden modify ...
Example interaction - Setting handler to start with service startup:
folden modify --startup auto
Architecture • FAQ • Download