this post was submitted on 14 May 2025
666 points (100.0% liked)

Programmer Humor

23899 readers
1443 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
(page 2) 19 comments
sorted by: hot top controversial new old
[–] [email protected] 0 points 3 weeks ago (3 children)

ffmpeg command lines are straight up black magic.

Anyone who understands them is not to be trusted.

It's even worse than tar.

[–] [email protected] 1 points 3 weeks ago

ffmpeg commands are one of the best use cases for ChatGPT

[–] [email protected] 0 points 3 weeks ago (1 children)

GNU tar is easy and straight-forward.

It's also completely incompatible with any other Unix, but then, what difference does it make is nobody can use them?

[–] [email protected] 1 points 3 weeks ago* (last edited 3 weeks ago) (1 children)

A more complex but more commonly used program is rsync

rsync -rav /home/user/Documents /mnt/usbdrive is treated differently than rsync -rav /home/user/Documents/ /mnt/usbdrive which is different than rsync -rav /home/user/Documents /mnt/usbdrive/ which is different than rsync -rav /home/user/Documents/ /mnt/usbdrive/

It's a great tool for making copies onto drives, even servers. But man you have to double check how each folder path is laid out, otherwise it'll write the files of one folder to the main drive, unorganized.

load more comments (1 replies)
[–] [email protected] 0 points 3 weeks ago (2 children)

If they know Regex, assume you are in Sarumans tower and held captive until a hawk comes in.

load more comments (2 replies)
load more comments
view more: ‹ prev next ›