fix script by big data
This commit is contained in:
parent
b3b53891f6
commit
8f3d6ddfd3
1 changed files with 5 additions and 2 deletions
|
@ -3,10 +3,13 @@
|
|||
set -x
|
||||
|
||||
# Pfad zum Basisverzeichnis der Musikdateien
|
||||
BASE_DIR="/media/music-backup/Anime"
|
||||
BASE_DIR="/media/music/Soundtracks"
|
||||
|
||||
# Sammle alle Verzeichnisse
|
||||
directories=($(find "$BASE_DIR" -type d -print))
|
||||
|
||||
# Gehe durch jedes Unterverzeichnis
|
||||
find "$BASE_DIR" -type d -print0 | while IFS= read -r -d $'\0' dir; do
|
||||
for dir in "${directories[@]}"; do
|
||||
echo "Verarbeite Verzeichnis: $dir"
|
||||
# Initialisiere ein Assoziativ-Array für Künstlerzählungen
|
||||
declare -A artist_count
|
||||
|
|
Loading…
Reference in a new issue