9 lines
155 B
Bash
Executable File
9 lines
155 B
Bash
Executable File
#!/usr/bin/env sh
|
|
set -ou pipefail
|
|
|
|
for dir in */; do
|
|
name=`echo "$dir" | sed 's/\/$//g'`
|
|
(cd $dir && ls | grep -v -E '\.txt|\.m3u' > "$name.m3u")
|
|
done
|
|
|