Linux Trix
Here are some common batch manipulations and workflows that I encountered during my Linux journey. Most of them are CLI applications but there are some GUI applications too. I’ll add more as I encounter them.
Function | Command | Prerequisites |
---|---|---|
Batch convert jpegs to pdfs of same filename | mogrify -format pdf -- *.jpg *.jpeg |
sudo pacman -S imagemagick |
Extract pages from pdf to jpegs (no quality loss, bit perfect) | pdfimages -j file.pdf page |
sudo pacman -S poppler |
Batch compress images | GUI | sudo pacman -S curtail |
Arrange, Split, Merge PDFs, Extract pages, etc | GUI | sudo pacman -S pdfarranger |
.cue + .bin to .chd conversion | chdman createcd -i input.cue -o output.chd |
sudo pacman -S mame-tools |
.cue + .bin to .iso conversion | bchunk -p input.bin input.cue output |
sudo pacman -S bchunk |
Decrypt PDF | qpdf --password=YOURPASSWORDHERE --decrypt input.pdf output.pdf |
sudo pacman -S qpdf |