Skip to content

Instantly share code, notes, and snippets.

@rmlrml
rmlrml / playlist.sh
Last active October 5, 2024 09:02 — forked from scarlson/playlist.sh
Bash script to create .m3u playlist files for all mp3s in subdirectories
#!/bin/bash
#
# bash script to create playlist files in music subdirectories
#
# Steve Carlson ([email protected])
find . -type d |
while read -r subdir
do
rm -f "$subdir"/*.m3u