Does anybody else have a library of saved commands/scripts? What’s in it? How do you organize it? Is there anything you’d want to share that other people might find helpful?
I do. I keep it in VS Code and store complicated (for me) stuff that I can’t remember or worry I might not.
-
Playlist download with yt-dlp with all my best settings, adding playlist index as track number.
-
Ffmpeg metadata cleaner for music. Searching title for a bunch of specific strings to remove, setting the band, album, etc. and saving these in a new folder.
-
Desktop file contents for when I need to create one for an appimage
-
The script I used to bind audio output switching to a hotkey
-
How to use ADB for when android blocks sideloading the normal way and I inevitably forget what Android Debug Bridge is or how to use it.
Linux Mint btw. Also yes, I am a noob.


I use obsidian with the self hosted live sync plugin and have a couchdb instance setup on my homelab server. With external access via ssl certs (the only way to access couchdb outside a local network is to get real certs). Now I can hit my notes from all my devices and systems. While it’s not ‘scripts’ exactly it contains a ton of documentation for things I do, plan to do and have done.
Also use it as a store house for links to various things that I intend to pull in and refactor for my own use later. Or links to other larger repositories (book of secret knowledge, etc), stuff I’ve made public on GitHub like rules.d tutorials for some keyboards with web configuration.
I think the only actual script I have on there is:
for f in *.mp3 *.m4a *.m4b *.opus; do [ -e "$f" ] || continue pre="${f%.*}" mkdir -p "$pre" mv "$f" "$pre/" doneMade it for moving loose audiobook files into individual folders.