diff --git a/system/.config/custom/aliases b/system/.config/custom/aliases index 05de2ed..5d7bea0 100644 --- a/system/.config/custom/aliases +++ b/system/.config/custom/aliases @@ -46,4 +46,13 @@ alias e='code' # Other aliases alias timestamp='date +%s' alias interfaces='ip -o link show | cut -d ":" -f 2' -alias ztar='tar --zstd -cf' \ No newline at end of file +alias ztar='tar --zstd -cf' + +function ebook-tools { + if [ -z "${1}" ]; then + echo "Please supply the book folder as argument." + return + fi + + docker run -it -v "${1}:/var/books" ebooktools/scripts:latest organize-ebooks.sh -v --output-folder="/var/books/organized" "/var/books" +} \ No newline at end of file