scripts/addbook

11 lines
490 B
Bash
Executable file

#!/bin/sh
clear
printf " Welcome to EXOZME LIBRARY Cli Portal \n You can 'only' add books from here \n"
printf " .-- .... . -. .. -. -.. --- ..- -... - ... \n"
printf " . Link: https://library.exozy.me . \n"
printf " . Db path: /opt/calibre-web/library - \n"
printf " . [ Add book into library! ] . \n"
printf " --. --- - --- .-.. .. -... .-. .- .-. -.-- \n"
read -p "Bookname or bookpath: " book
calibredb add "$book" --with-library /opt/calibre-web/library