View Single Post
Old 01-26-2018, 03:47 PM   #16
ckronengold
Member
ckronengold began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2018
Device: kindle basic
I guess I'm unclear what is wrong with this script or why its kicking out a "/home/calibre/CalibreAdd/*" not found message.

if [ "$(ls -A /home/calibre/CalibreAdd)" ]; then
calibredb add -r "/home/calibre/CalibreAdd" --library-path="/home/calibre/$
rm "/home/calibre/CalibreAdd/*"
fi

Similarly:
"
*/10 * * * * calibredb add -r --with-library "/home/calibre/Calibre-Library" --username user --password pwd "/home/calibre/CalibreAdd/*"




I suspect trying to get either the crontab or script to work at the same time isn't helping. But the script seems to run and then gives the message that it wont add titles that are already in the library. But I can't find them in the GUI. I see the folder and the book in the /home/calibre/Library/Author folder.

Last edited by ckronengold; 01-26-2018 at 04:17 PM.
ckronengold is offline   Reply With Quote