Skip to content

triole/eagle-eye

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eagle Eye build

  1. Synopsis
  2. Usage
  3. Variables
  4. Disclaimer

Synopsis

A folder watcher that runs commands on change of files or folders. Inspired and based on watcher but with more intuitive command line flags and logging support.

Usage

# simple usage, watch current dir and run 'ls -la'
ee ls -la

# pass events path to the command
ee cat {{.file}}

# spectate mode, just prints changes, does not execute a command
ee -s

# filter and watch a specific folder
# NOTE: flags always have to be in front of the command
ee -r .md$ -f /home/user/my_markdowns ls -lah

# get a list of available variables
ee -n

Variables

The following vars are available:

  {{.file}}	file that triggered the event
  {{.folder}}	folder of the file that triggered the event

Disclaimer

Warning. Use this software at your own risk. I may not be hold responsible for any data loss, starving your kittens or losing the bling bling powerpoint presentation you made to impress human resources with the efficiency of your employee's performance.

About

a file and folder watcher that runs commands on changes

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages