this post was submitted on 18 Jul 2023
76 points (96.3% liked)

Linux

48031 readers
1075 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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
top 24 comments
sorted by: hot top controversial new old
[–] runeko@lemmy.fmhy.ml 10 points 1 year ago (1 children)

Rsync for moving files and backing up.

[–] JubilantJaguar@lemmy.world 5 points 1 year ago (1 children)

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.

[–] Backslash@feddit.de 8 points 1 year ago (1 children)

I think rsync is short for remote sync

[–] JubilantJaguar@lemmy.world 5 points 1 year ago (1 children)
  • xournal for fake form-filling on PDFs - ugly and unintuitive but gets the job done
  • img2pdf - does what it says on the tin
  • ranger 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 manual
[–] non_feistel@lemmy.world 5 points 1 year ago

If 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

[–] 20gramsWrench@lemmy.dbzer0.com 5 points 1 year ago* (last edited 1 year ago)

find -exec is essential to process multiple files

7z handles wildcards inside a find -exec so you can save 200 lines of sh compliance

mpv plays online media since it uses yt-dlp

[–] sapient_cogbag@infosec.pub 4 points 1 year ago

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 ;p
  • nvim 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 or yt-dlp for grabbing youtube stuff.
[–] SexualPolytope@lemmy.sdf.org 4 points 1 year ago* (last edited 1 year ago)

I 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 around ffmpeg that gives it a nice progress bar.

[–] joey@lemm.ee 4 points 1 year ago

Aria2c is the best downloader for large files. It also supports torrents.

[–] exu@feditown.com 3 points 1 year ago

You can also use ghostscript (gs) or the image magick convert with PDF.

I use rsync quite often and ssh as well.

[–] carnha@lemm.ee 3 points 1 year ago* (last edited 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
[–] bartlbee@lemmy.sdf.org 3 points 1 year ago

I'd add:

  • ghostscript - with some basic perl scripts, works great for pdf flattening/compressing, merging, splitting, adding bookmarks etc.
  • poppler - pdfseparate, sometimes pdfunite
  • zathura - pdf viewing
  • feh - images
  • sshfs - prefer it to rclone
  • cheat
  • emacs - org-mode, latex, dired/wdired, capture, eshell, vterm, tramp
  • mc/midnight commander
[–] learnbyexample@programming.dev 3 points 1 year ago* (last edited 1 year ago)

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

[–] tom42@beehaw.org 2 points 1 year ago

For audio files sox and beets are my live saver.

[–] SomeBoyo@feddit.de 2 points 1 year ago (1 children)

I download files with axel

Thanks! i'll try it out

[–] codr9@lemm.ee 1 points 1 year ago

Using lf, a file manager like ranger. Written in Go.

https://github.com/gokcehan/lf

[–] Furycd001@fosstodon.org 1 points 1 year ago

@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....

[–] pudgymongrel@lemmy.world 1 points 1 year ago (1 children)
  • convert - convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, etc. Almost nothing it can't do.
[–] SexualPolytope@lemmy.sdf.org 4 points 1 year ago* (last edited 1 year ago) (1 children)

IIRC, convert is just an alias to imagemagick.

[–] 20gramsWrench@lemmy.dbzer0.com 2 points 1 year ago (1 children)
[–] pudgymongrel@lemmy.world 2 points 1 year ago

TIL. Thank you kind strangers.

[–] madeindjs@lemmy.ml 0 points 1 year ago

syncthing to sync my files on all my devices

load more comments
view more: next ›