среда, 15 мая 2019 г.

View CSV from browser on MacOS

To quickly view the content of CSV file from browser it is possible to use builtin mac os file preview.
This will work for any browser. Tested on firefox.

Create an application in Automator
  • open Automator
  • add shell script
  • paste code qlmanage -c public.plain-text -p "$@" 1>/dev/null 2>/dev/null
  • set pass input: as arguments
  • save as preview-text app to Applications
  • open csv file in browser
  • select open with
  • choose preview-text app

Комментариев нет:

Отправить комментарий