aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-10-07 08:09:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-10-07 08:09:43 -0300
commita70038153935f4a50d447482acd0ceed5b294e2a (patch)
treed57c803d5bed109d84423d9a341fde4e3dae25b6
parentd1791e72e2e1442033cad2ad7ef1dd183562ddec (diff)
downloadutils-doc-a70038153935f4a50d447482acd0ceed5b294e2a.tar.gz
utils-doc-a70038153935f4a50d447482acd0ceed5b294e2a.tar.bz2
Fix: kobo scripts: migrate to docshower
-rwxr-xr-xcopy-annotations-from-kobo2
-rwxr-xr-xcopy-item-to-kobo2
2 files changed, 2 insertions, 2 deletions
diff --git a/copy-annotations-from-kobo b/copy-annotations-from-kobo
index f86d1fe..a7d936c 100755
--- a/copy-annotations-from-kobo
+++ b/copy-annotations-from-kobo
@@ -29,7 +29,7 @@ if [ -z "$PATTERN" ]; then
fi
# Dispatch
-show --search "$PATTERN" | while read item; do
+docshower --search "$PATTERN" | while read item; do
#sdr="`echo $item | sed -e 's/\.pdf$//' -e 's/\.epub$//' -e 's/\.djvuf$//'`.sdr"
basename="`echo $item | sed -e 's/\.[^.]*$//'`"
extension="$(echo $item | sed -e "s|$basename.||")"
diff --git a/copy-item-to-kobo b/copy-item-to-kobo
index aa751fb..dd78b12 100755
--- a/copy-item-to-kobo
+++ b/copy-item-to-kobo
@@ -30,7 +30,7 @@ if [ -z "$PATTERN" ]; then
fi
# Dispatch
-show --search "$PATTERN" | while read item; do
+docshower --search "$PATTERN" | while read item; do
dirname="`dirname "$item"`"
# Check if item has unspported chars in it's file name