So what I have at the moment is youtube-dl downloading into this folder "/media/zachary/Ante'esemone/Not in iTunes/" and it creates a folder with the name of the channel, for example:
- Aliasizm
- Caravan Palace
- MrSuicideSheep
Then inside those folders are the .mp3 files labeled as:
- Aether - Catharsis.mp3
- Echos - Leave Your Lover.mp3
- Hazey Eyes - Untitled.mp3
So I have a script that will edit the ID3 tags of all the files in 1 folder at a time, this script adds the name of the channel that it was downloaded from and adds the artist name from the file name to the ID3 tag as well. eg:
Aether - Catharsis.mp3
Becomes:
Catharsis.mp3 (With ID3 tags of "Aether" as the Artist and "Mrsuicidesheep" as the Comment)
But my current script (I'll add it below) can only do 1 folder at a time, what I need is a command (or an edit to the script) that can do all folders in the parent folder at once.
#!/bin/bash
for f in *.mp3; do
artist="$(printf "$f" | cut -d '-' -f 1 | sed 's/ *$//')"
eyeD3 --artist "$artist" "$f"
mv -nv "$f" "$(printf "$f" | cut -d'-' -f 2 | sed 's/^ *//')"
done
^Will Add the Artist tag and rename the file to just be the Track name
I apologize for any initial confusion.