What CLI apps you use to do common tasks like editing (pdf, audio, video, image) files.
Here is my list:
- pdf -
pdftk
- images -
imagemagick
utilities - audio/video -
ffmpeg
- documents -
libreoffice --headless
mode, alsopandoc
- download files -
wget
andcurl
, alsoytdlp
for youtube, reddit - cloud storage -
rclone
Here is my list:
emacs
Ah, so you use the EMACS operating system as well?
Rsync for moving files and backing up.
The ultimate it-just-works CLI tool.
Although I have never understood why it's called
rsync
, because you need to add--recursive
to make it actually sync a file tree, which is what it does best.I think
rsync
is short for remote syncAmazing!
I'm sure there's more but I don't memorize them, they kind of get remembered when I need them.
Your list looks like what I'd write anyway, so just commenting; ^ That.
syncthing to sync my files on all my devices
find -exec
is essential to process multiple files7z
handles wildcards inside afind -exec
so you can save 200 lines of sh compliancempv
plays online media since it uses yt-dlpxournal
for fake form-filling on PDFs - ugly and unintuitive but gets the job doneimg2pdf
- does what it says on the tinranger
for managing files and launching stuff - not the coolest kid on the block but this is the single most impressive terminal app I have used in recent years, the key bindings and commands and defaults are so crazily intuitive that I hardly ever even need to consult the manualIf you use Firefox, it added pdf editing in since 106. I like it compared to xournal. https://www.mozilla.org/en-US/firefox/106.0/releasenotes
https://github.com/WyattBlue/auto-editor - automatically editing video and audio by analyzing a variety of methods, most notably audio loudness
https://github.com/shssoichiro/oxipng, https://pngquant.org/ and https://github.com/RazrFalcon/svgcleaner for optimizing images
I'd add:
I use:
qpdf
for mucking around with pdfs, reordering, selecting pages, combining them, etc.ffmpeg
for video and audio sicing and transcoding. Usually encompassing a command in a script because I forget the precise params every time ;pnvim
for anything like Markdown (which can be converted to other things like LaTeX or pdf or html, sometimes in multiple stages)imagemagick
for simple image conversion stuff.wget
for downloads ^.^youtube-dl
oryt-dlp
for grabbing youtube stuff.You can also use ghostscript (
gs
) or the image magickconvert
with PDF.I use
rsync
quite often andssh
as well.Very similar to you. I do use
gramma
for spellchecking. My most used app overall is probablypandoc
. I use it to make all my docs and presentations for work.Do you create slides with it? Which input format do you use for that? I usually use LaTeX for slides but would be interested in an alternative.
Aria2c is the best downloader for large files. It also supports torrents.
For me, it's pretty much just app management via my package manager, some file management, and the big ones are using
neovim
as a text editor andcmus
as my primary music player (I also useemms
inemacs
sometimes)For audio files
sox
andbeets
are my live saver.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 tooI use most of these that you listed, except that I don't use office apps at all, and do all my documents using LaTeX in
neovim
.Also, I have small helper scrips for pdf manipulation for tasks that I do regularly, like making my handwritten notes ready for printing at my office since I don't like the algo my office printer uses to convert them to B&W. I also use
sejda-console
for merging PDFs as it has nice options for manipulating TOC during the merge.Another nice utility is
ffpb
which is basically a wrapper aroundffmpeg
that gives it a nice progress bar.@antihero I use ffmpeg to extract frames from images. Yt-dlp to download youtube videos. Rmlint, to remove duplicates. Gallery-dl to sometimes download from sites like instagram or twitter & finally mpd / ncmpcpp to listen to music....
I download files with axel
Thanks! i'll try it out
Does anyone know of an application which can eliminate excessive glare in a picture?
Using
lf
, a file manager like ranger. Written in Go.https://github.com/gokcehan/lf
IIRC,
convert
is just an alias toimagemagick
.you recalled correctly.
TIL. Thank you kind strangers.