What CLI apps you use to do common tasks like editing (pdf, audio, video, image) files. - eviltoast

Here is my list:

  • pdf - pdftk
  • images - imagemagickutilities
  • audio/video - ffmpeg
  • documents - libreoffice --headless mode, also pandoc
  • download files - wget and curl, also ytdlp for youtube, reddit
  • cloud storage - rclone
  • carnha@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 year ago
    • pdfcrop (commonly included with LaTeX) for cropping margins - it cuts the pdf down to its contents then adds a margin of your choosing, extremely useful for forcing academic papers to have consistent margins, pdfcrop --margins 72 *pdf here* will create a document with a ~1in margin all around (it uses bp as its units)
    • vips for resizing/converting images - it’s a bit faster and lighter than imagemagick in my experience, although the main reason I use it instead of imagemagick is just because I like playing around with stuff I haven’t used before :) It has an officially supported python binding too