]> gitweb.fluxo.info Git - utils-doc.git/commitdiff
Fix: kobo scripts: migrate to docshower
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 7 Oct 2024 11:09:43 +0000 (08:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 7 Oct 2024 11:09:43 +0000 (08:09 -0300)
copy-annotations-from-kobo
copy-item-to-kobo

index f86d1fe4a461ff6d09fb6e9000a348a1a169d91f..a7d936c7215f2f99456b576415446d68dbe28d02 100755 (executable)
@@ -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.||")"
index aa751fb3c2cada29c01044e2035fabe5399db277..dd78b12571f0b63334e39972a5f1f70c2b806801 100755 (executable)
@@ -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