Skip to content

Instantly share code, notes, and snippets.

View Hecsall's full-sized avatar
🌑
No sleep

Simone Hecsall

🌑
No sleep
View GitHub Profile
@Hecsall
Hecsall / m3ugen.sh
Last active November 3, 2025 00:26
m3ugen: A simple function that generates an .m3u8 playlist of songs inside a folder
# M3Ugen
# This function is meant to be inserted inside your .bashrc or .zshrc, then called with
# m3ugen -f path/to/music -n playlistTitle
function m3ugen() {
### - Help text
if [[ "$1" == "-h" ]] || [[ "$1" == "--help" ]] || [ -z "$1" ]
then
echo ""
echo "M3Ugen"