Skip to content

Instantly share code, notes, and snippets.

View argenkiwi's full-sized avatar
👽
Hack the planet!

Leandro argenkiwi

👽
Hack the planet!
View GitHub Profile
@argenkiwi
argenkiwi / download_m3u.sh
Created July 1, 2025 20:04
Bash script to download all resources listed in an m3u file to the specified directory.
#!/bin/bash
# This script downloads files specified by URIs in an M3U playlist file.
# It requires 'wget' to be installed on your system for downloading.
# --- Configuration ---
# Default output directory if not provided by the user.
DEFAULT_OUTPUT_DIR="./downloaded_media"
# --- Function to display usage information ---