Termux

Termux

Marco Rocco

2021-06-09

Creating aliases

In home directory, open the file .bashrc or create it if it does not exit:
micro .bashrc

You can add one alias per line, for example:
alias cdint='cd ~/storage/shared'
alias cdext='cd ~/storage/external-1'

Image Processing

Resize with ImageMagick

magick mogrify -path resized -format jpg -resize 1200 *

PDF merge with GhostScript

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=temp.pdf pdf1.pdf pdf2.pdf


© 2021 Marco Rocco CC-BY-SA