![]() |
#16 |
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2014
Device: iOS
|
there's definitely a file in there. with the wildcard *, it gives me that error
once I remove the wildcard from the path, and re-run the script, it works, and the file gets added to the calibre, but then the whole book folder gets deleted. ![]() |
![]() |
![]() |
![]() |
#17 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
![]() ![]() I forgot to remove the quotes, quotes imply literals which is why the space is part of the filename. But since the wildcard is quoted, IT is a literal asterisk!!! Properly, these things should be escaped (with a backslash "\") instead of quoted, and the wildcard will work. Code:
/Applications/calibre.app/Contents/console.app/Contents/MacOS/calibredb add --with-library=/Volumes/Ministack/Calibre\ Library --recurse /Users/IS/Dropbox/Reading\ Books/
rm -r /Users/IS/Dropbox/Reading\ Books/*
Last edited by eschwartz; 12-05-2014 at 12:22 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2014
Device: iOS
|
you are a godsend. thank you so much. seems to be working now. really appreciate it.
|
![]() |
![]() |
![]() |
#19 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
|
![]() |
![]() |
![]() |
#20 |
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2014
Device: iOS
|
Since I've been asking for your help already, mind if I ask you another question?
Is there any way with CLI (or some other tool that you know), where I can pre-populate/modify the creation date of the document to the added date in my dropbox folder? Also, any way to append a tag, say "Bill" or "Research" to a custom column to the actual pdf file so that it already shows up when it gets dumped into calibre? BTW, so far so good on the calibre-server. Thank you again! |
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Well, you can use a few parameters to "calibredb add", for instance
Code:
-T "tag1, tag2" Code:
--tags="tag1, tag2" The most common thing done with tags on import is to tag them as just-added or some such, so you know which ones to work on. Last edited by eschwartz; 12-05-2014 at 06:16 PM. |
![]() |
![]() |
![]() |
#22 |
Member
![]() Posts: 13
Karma: 10
Join Date: Dec 2014
Device: iOS
|
ok -- food for thought. thanks!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Auto Add | james14 | Library Management | 10 | 05-31-2014 02:49 AM |
[How To] Running Calibre server as a news server | sws | Related Tools | 0 | 04-09-2013 08:27 AM |
Running Calibre on Server | godlich | Recipes | 2 | 02-09-2012 12:57 PM |
Add a book from another computer running calibre server | gandor62 | Library Management | 2 | 06-29-2011 11:24 AM |
Trouble running calibre-server | ould | Calibre | 0 | 04-16-2010 02:18 PM |