Home
xvdd
Cancel

Convert a JSON array to CSV with jq

jq is the go-to command-line tool to manipulate JSON data. To share data collected through a REST API by email, I regularly have to convert JSON to tables, usually formatted in Excel. jq can help...

Reduce a pdf file size with Imagemagick

Convert and split the pdf file to image files (on my system, Imagemagick is called with the convert command): $ convert -density 100 input_file.pdf -quality 90 page.jpg $ ls input_file.pdf page-0....