Some scripts made by conversing with ChatGPT with only some minor manual adjustments
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Antonio De Lucreziis 5f496df275 added a better version of pdfcompress that doesn't use convert 2 years ago
bin added a better version of pdfcompress that doesn't use convert 2 years ago
.gitignore moved scripts and updated readme 2 years ago
README.md added a better version of pdfcompress that doesn't use convert 2 years ago

README.md

Scripts written with the help of ChatGPT

  • pdfcompress

    A utility that uses convert to render each page of a PDF to a JPEG image with adjustable quality and then merges them back into a single document.

    With the verbose option this will also print processing information and the estimated remaining time.

  • pdfcompress2

    Variant of the previous command that uses poppler utils and gs instead of convert that is old and buggy (this was acually manually modified)

  • hash2addr

    Outputs a randomly generated IP address and port number based on the MD5 hash of the input string.

Install

$ ln -svf $(pwd)/bin/* ~/.local/bin/