mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2026-07-21 19:05:39 +02:00
fix(watch): don't backfill existing archives at watch startup
Co-authored-by: Belphemur <197810+Belphemur@users.noreply.github.com>
This commit is contained in:
co-authored by
Belphemur
parent
52c93acd35
commit
0b3c3fa90c
@@ -78,6 +78,14 @@ Watch a folder for new CBZ/CBR files and optimize them automatically:
|
||||
cbzconverter watch [folder] --quality 85 --override --format webp --split
|
||||
```
|
||||
|
||||
Watch mode only reacts to filesystem events that occur *after* it starts; it does not
|
||||
scan and optimize files that already exist in the folder when it starts. Run the
|
||||
`optimize` command first if you need to process an existing library, then use `watch`
|
||||
to keep it up to date going forward. The only exception is a directory that gets
|
||||
created/moved into the watched tree while watch mode is running: since no per-file
|
||||
event is emitted for files already inside it, its existing archives are processed once
|
||||
when the directory is first detected.
|
||||
|
||||
Or with Docker:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user