diff options
-rwxr-xr-x | ranger/data/scope.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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;; |