|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Dec 2019
Device: kindle voyage
|
I've got calibre server run with Command Line Interface in my VPS. And I add books from smart-phone-ereader that support opds.
So I write a crontab task to fetch news and automatic add them to calibredb. Code:
re_path=/home/xxxx/calibre/
cd $re_path
for name in `ls newstoday.recipe|awk -F '.' '{print $1}'`
do
echo "fetch news $name"
ebook-convert ${name}.recipe .epub
sleep 3
echo "add $name to CalibreDB"
calibredb add ${name}.epub
done
or How to set [fetch news]-[delete downloaded nenws older than * days] --the feature from GUI with command line Thank you guys |
|
|
|
|
|
#2 |
|
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Dec 2019
Device: kindle voyage
|
how can I delete a specific book in command line interface ?
the document says that Code:
calibredb remove ids |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,608
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use calibredb search to get the ids
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Delete older news than.. from device? | forestblue | Calibre | 3 | 01-13-2019 09:39 AM |
| How can I use calibre fetch google reader by Linux command Line? | madawei | Devices | 4 | 06-26-2012 01:08 AM |
| start 'fetch news' process from the command prompt | poldem | Calibre | 2 | 03-17-2011 12:35 PM |
| Feature: Command Line News Fetch? | marcot | Recipes | 6 | 03-05-2011 07:26 AM |
| Delete news older than | Stingo | Calibre | 2 | 12-25-2010 06:13 AM |