![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 2139988
Join Date: Nov 2014
Device: bookeen
|
Shell script to search all your libraries
Hi
I made a small shell script to search all my libraries at one go (which is not possible in the gui as far as I know) I hope it is useful to you as well. Code:
#!/bin/bash DATABASE=() DATABASE=("path_to_database_1" "path_to_database_2" "path_to_database_3") echo ${DATABASE[*]} for a in ${DATABASE[*]}; do echo $a calibredb list --library-path=$a -s $* done; I do not know how to make this into a plugin. it would be nice if it could be invoked inside the gui. Last edited by loviedovie; 02-17-2015 at 10:24 AM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shell Script Kindle 4nt | nixlos | Kindle Developer's Corner | 3 | 08-12-2014 12:46 PM |
shell script to randomize files in directory | Eradicatore | Kindle Developer's Corner | 25 | 04-15-2014 10:18 PM |
invoking sql in a shell script | Mingyar | Kobo Developer's Corner | 17 | 05-31-2013 06:50 PM |
pdf to txt shell script | Mr.Castro0o | 0 | 03-27-2013 07:39 AM | |
Shell script to wait for user input from K3g keyboard | jmseight | Kindle Developer's Corner | 33 | 04-01-2012 04:32 PM |