Created
January 23, 2025 16:13
-
-
Save vi7/e9ff45283b62df04eed21072d68a1579 to your computer and use it in GitHub Desktop.
M3U playlist generator bash script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
playlist="playlist.m3u" | |
echo "#EXTM3U" > "$playlist" | |
find . -type f -iname "*.mp3" | while read -r file; do | |
echo "$file" >> "$playlist" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment