Keep downloaded EPUBs so kobodl can skip them on future syncs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -544,10 +544,11 @@
|
||||
docker compose exec -T kobodl kobodl --config /home/config/kobodl.json book get --get-all --output-dir /downloads
|
||||
|
||||
# Import any new EPUBs into Calibre library
|
||||
# Files are kept in /downloads so kobodl can skip them next run
|
||||
docker compose exec -T --user abc calibre-web sh -c '
|
||||
for f in /downloads/*.epub; do
|
||||
[ -f "$f" ] || continue
|
||||
calibredb add "$f" --with-library /library/ && rm "$f"
|
||||
calibredb add "$f" --with-library /library/ || true
|
||||
done
|
||||
'
|
||||
tags: calibre
|
||||
|
||||
Reference in New Issue
Block a user