MS-Painter / Folden

Cross platform PC application. System wide file watchers handling made simple.
MIT License
20 stars 3 forks source link
file-watcher file-watchers linux linux-service rust windows windows-service

What is Folden?

Application to handle and modify files for common scenarios. System wide.

Using simple pipelines, designed to be easily created & monitored from your CLI.

Motivation

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.

How does it work?

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).

Example usage

  1. 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

  1. 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.
  1. 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

Learn more

Architecture  •   FAQ  •   Download