25 lines
284 B
Markdown
25 lines
284 B
Markdown
# rotate-puts
|
|
|
|
Rotate outputs from std in or assigned file
|
|
|
|
Usage:
|
|
|
|
```shell
|
|
command | rotate-puts
|
|
```
|
|
|
|
Use `mkfifo`:
|
|
|
|
```shell
|
|
mkfido test-fifo
|
|
rotate-puts --file test-fifo
|
|
command > test-fifo
|
|
```
|
|
|
|
Run as daemon:
|
|
|
|
```shell
|
|
rotate-put --file test-fifo --daemon [--continue-read]
|
|
```
|
|
|