From 2b50f82faa04838f78bc8de5dc33d4a106e50461 Mon Sep 17 00:00:00 2001 From: Marie-Helene Burle Date: Fri, 31 May 2019 11:03:03 -0700 Subject: Add information on how to get xls2csv and xlsx2csv applications --- ranger/data/scope.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index f9b9498b..9a9f5160 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -89,6 +89,7 @@ handle_extension() { rtf|doc) ## Preview as text conversion ## note: catdoc does not always work for .doc files + ## catdoc: http://www.wagner.pp.ru/~vitus/software/catdoc/ catdoc "${FILE_PATH}" && exit 5 exit 1;; @@ -101,12 +102,15 @@ handle_extension() { ## XLSX xlsx) ## Preview as csv conversion + ## Uses: https://github.com/dilshod/xlsx2csv xlsx2csv "${FILE_PATH}" && exit 5 exit 1;; ## XLS xls) ## Preview as csv conversion + ## xls2csv comes with catdoc: + ## http://www.wagner.pp.ru/~vitus/software/catdoc/ xls2csv "${FILE_PATH}" && exit 5 exit 1;; -- cgit 1.4.1-2-gfad0