So this is fun.

#!/bin/bash
for i in *
do
ls "$i" && mediainfo "$i" | grep -m 1 Duration | awk '{print $3,$4,$5,$6}'
done

#Linux #ShellScript

And today's multi-hour confusing time suck was:

`curl -H "Authorization: ${TOKEN}"`

(Note conspicuous lack of the word `Bearer`)

To add #insult to #injury, this old #Perl guy had to dig into some #PHP in order to figure out where his stupid #shellscript went wrong.

On the other hand, I did gather enough #research to propose a #solution to #decommission a piece of #commercial software in favor of a mix of #cloud services and #selfhosted #opensource.

CLI siêu nhẹ dùng Ollama chuyển ngôn ngữ tự nhiên thành lệnh shell, mặc định qwen2.5-coder, dễ chuyển mô hình bằng `--model`/`ASK_MODEL` và `OLLAMA_HOST`. Thích hợp cho dev muốn nhanh chóng biến mô tả thành câu lệnh. #Ollama #CLI #Shell #AI #Programming #LậpTrình #CôngCụ #AIVietnam #ShellScript

https://www.reddit.com/r/ollama/comments/1qoi1op/tiny_ollamapowered_cli_natural_language_to_shell/

Hi! I'm Koffietje! (Not very original, might change that later.)
Obviously, I'm a big fan of coffee! Generally black, over-steeped in a French press. But lately I've been messing around with the Moka pot.

I'm also big on Linux. My daily driver is Fedora, which seems to work incredibly well on my computers. I'm also curious about ARM & RISC-V, and have dipped my toes into BSD. Always trying to learn more, and currently I'm working on my Bash skills, trying to get into network administration, managing VMs, and figuring out self-hosting.

When I'm not tinkering with my machines (which is rare, since I may or may not have way too many...) I like to play video games. Currently I'm running through Vampire Survivors, but I generally really enjoy rogue-li{k,t}es. Numbers! And they go up! What fun!

I've also recently gotten the "Retro Bug", learning about (and yearning for) 80s/90s/00s PCs and retro games I missed out on. Hopefully I can restore an iMac G3 one day. (And I'll throw OpenBSD on that sucker!)

When I've got the time, I like to read. Pretty much purely non-fiction, usually something computer-related. Mostly on an e-reader (thanks, Calibre!) but I do very much enjoy physical books. Any recommendations? Let me know!

Beyond that, I'm vegetarian (moving towards and very close to being vegan), take care of way too many houseplants, and I can be both OCD-ish and overly verbose. But, I'm very friendly! So if you want to talk to me, please do so! Can't have too many friends, right?

Lastly, here is the command in case you want to create something similar:
echo -e '\n\n' && echo -e "Hi, I'm Koffietje! Linux & BSD guy, big computer nerd, lover of non-fiction books, and enjoyer of the occasional (retro) game." '\n' "I'm friendly, so feel free to reach out about anything!" '\n' "And lastly, I hope you have a great day!"| cowsay
(Cowsay and Cool Retro Term required!)

Some hashtags: #Linux #BSD #Coffee #Fedora #ARM #RISC-V #Bash #Gaming #Roguelike #Roguelite #Calibre #Vegetarian #houseplants #OCD #Friendly #ShellScript

Muita discussão interessante rolando no fidigerson e eu... há três dias tentando recuperar um arquivo.   
Provavelmente a parte de recuperar é a mais simples. O difícil é encontrar o diacho do arquivo numa montanha de arquivinhos... Fiz logo um script shell pq a quantidade tá brutal.

#testdisk #photorec #recuperaçãodearquivos #shellscript #shell #bash

🚀🕰️ Ah, the #nostalgia of square brackets in shell scripting—the forgotten relics of our #coding youth! 🤓📚 Luca Ferrari takes us on a time-traveling adventure to rediscover the ancient art of 'test,' proving once again that some people will do anything to relive their university glory days. 🎓💾
https://fluca1978.github.io/2025/12/10/testAndSquareBrackets.html #test #shellscript #retro #tech #HackerNews #ngated
Test your square brackets!

A shell story about how to test things when doing scripting.

Linux Fu: Yet Another Shell Script Trick

I’m going to go ahead and admit it: I really have too many tray icons. You know the ones. They sit on your taskbar, perhaps doing something in the background or, at least, giving you fingerti…

Hackaday

Re earlier toot ... as soon as I'd finished dealing with #dependabot's PRs, I wanted to use the script to view other peoples' PRs against my code (there are only two that I've not dealt with because I'm a good boy, although one has been festering for 7 years because I'm a bad boy), and then to see all my PRs against other peoples' code that are still open. And so the script got just a teensy bit bigger.

https://github.com/DrHyde/shellscripts/blob/9c4527e85dafda60667279f69303ef3b3e775e52/gh-open-dependabot-prs

#ShellScript

#UNIX #oneliner #shellscript:

clear && echo "" && date | tr -d "\n" && uptime && echo ""

Output:

Sat Dec 20 12:18:53 GMT Standard Time 2025 12:18:53 up 5 days, 16:03, load average: 0.00, 0.00, 0.00

NB This #commandline #wizardry is a #busybox script running on #Windows11. Enjoy #DOScember.

CSVやMarkdownをそのままNotionに表として貼り付けられるCLI作った - Qiita

こんにちは!any 株式会社でプロダクトチームに所属しているエンジニアのなおとぅ(@Rasukarusan)です! この記事は、any Product Team Advent Calendar 2025 シリーズ3の 11 日目の記事になります。 はじめに ターミナ...

Qiita