diff --git a/FAQ.md b/FAQ.md index 4bcb764..139f4a8 100644 --- a/FAQ.md +++ b/FAQ.md @@ -71,11 +71,13 @@ Calibre-Web has to be restarted after changing the policy.xml file. Covers shoul It's possible to upload several books at once by selecting more than one file. The limitation is the upload size of the calibre-web interal server (several hundred megabyte). Another posibility is via a normal shall script by watching a folder content. Prerequisites for the example below is a installed calibre program. The script has to be called regulary (cron job). The script watches for content in the supervised path, calls calibre to add the files in the folder to the library and deletes the files in the last step from the source folder. -``#!/bin/bash +``` +#!/bin/bash if [ "$(ls -A [folder to watch] )" ]; then calibredb add -r "[folder to watch]" --library-path="[path to calibre library]" rm [folder to watch]/* -fi`` +fi +``` ### Login Kobo