Applications like Beets, Lidarr, Jellyfin, rename and move music files but do not touch other types of files (images, lyrics, nfo). This script identifies these folders and deletes them.
git clone https://github.com/u2pitchjami/clean_music_directories.git
cd clean_music_directories
sudo mv .config.cfg.example .config.cfg
sudo nano .config.cfg
nettoyage_musique.sh
-
The script will scan your music database, looking for folders without music files (mp3 flac wav ogg).
-
The result will be send to Temp folder :
-
And will delete in 7 days.
👤 u2pitchjami
- Twitter: @u2pitchjami
- Github: @u2pitchjami
- LinkedIn: @thierry-beugnet-a7761672