watchdrain

command module
v0.0.0-...-a31a2bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: MIT Imports: 9 Imported by: 0

README

watchdrain is a simple command line tool that monitors a directory until it is empty of files.

I wrote it as an exercise to experiment with Go channels, goroutines, and testing in Go.

Installation

go install github.com/mabego/watchdrain@latest

Using go run

git clone https://github.com/mabego/watchdrain.git
cd watchdrain
go run . <directory>

Usage

watchdrain -deadline 1m <directory>

See watchdrain --help for more information.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL