gitmyhub

my-bash-scripts

Shell ★ 1 updated 2mo ago

My personal bash scripts

A personal collection of small command-line shortcuts for macOS that make everyday terminal tasks faster, like converting media files and managing Docker containers.

ShellFFmpegImageMagickDockersetup: moderatecomplexity 1/5

my-bash-scripts is a collection of small command-line tools created by a developer named Kasper for personal use on macOS. These are handy shortcuts that live in your terminal, designed to make common tasks a bit faster and less tedious. Think of them as custom power-ups for everyday computer chores.

The collection includes a handful of utilities. One script, called to, is a file converter: you give it a file and tell it what format you want, and it handles the conversion for video, audio, and images. Another, called dco, is a shortcut for managing Docker containers, with a few quality-of-life tweaks like automatically cleaning things up after you're done. There's also sleepy, which simply puts your computer to sleep, and welp, which lists all the available scripts in the folder.

At a high level, these scripts work by sitting in a folder your terminal knows to look in. Once you set that up, you can type a short command like to mp3 song.wav from anywhere on your computer, and the script takes care of the rest. The to script relies on existing tools like FFmpeg and ImageMagick under the hood, but it wraps them in a simpler interface so you don't have to remember all their complex commands.

Someone might use this if they frequently work with media files, use Docker, or just want to automate small tasks without reaching for a mouse. For example, a podcaster could quickly convert an audio file to MP3, or a developer could spin up a test environment with a shorter command. It's practical for people who live in the terminal and appreciate a good shortcut.

The project is straightforward and built for macOS. The README notes that some scripts may not work on other operating systems. It's a personal toolkit shared publicly, so it's very much "take what you need" rather than a polished product.

Where it fits