                         [1m[23m[39m[49m[24m[29mRandom linux utilities[0m
                 Neat things I picked up along the way
                                    
                                 Never
                                    
                               [22m[3m[39m[49m[24m[29m2025-07-25[0m
                                    
                          ────────────────────

[1m[23m[39m[49m[24m[29mMERGE PDFS[0m

[1m[23m[39m[49m[24m[29mUsing Ghostscript[0m

Ghostscript has a feature to merge multiple pdf files into one. Although
ImageMagick also has this feature, I prefer this one, as it doesn’t
rasterize and scales down the pdf files.

    [0m[0m[22;23;24m[34;22;23;24mgs[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[33;22;23;24m-dNOPAUSE[0m[22;23;24m[0m[22;23;24m [0m[22;23;24m[33;22;23;24m-sDEVICE[0m[22;23;24m[90;22;23;24m=[0m[22;23;24m[0m[22;23;24mpdfwrite [0m[22;23;24m[31;22;23;24m\[0m[22;23;24m
    [0m[22;23;24m    [0m[22;23;24m[33;22;23;24m-sOUTPUTFILE[0m[22;23;24m[90;22;23;24m=[0m[22;23;24m[0m[22;23;24moutput.pdf [0m[22;23;24m[31;22;23;24m\[0m[22;23;24m
    [0m[22;23;24m    [0m[22;23;24m[33;22;23;24m-dBATCH[0m[22;23;24m[0m[22;23;24m 1.pdf 2.pdf[0m[22;23;24m[0m
[0m]8;;\