Skip to content

script cleaning my music bdd by removing empty directories or whitout music files

Notifications You must be signed in to change notification settings

u2pitchjami/clean_music_directories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

clean_music_directories

Twitter GitHub followers Reddit User Karma

Clean Music Directories

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.

image

Installation

1 - Clone the repository :

git clone https://github.com/u2pitchjami/clean_music_directories.git

2 - Create and edit .config.cfg :

cd clean_music_directories
sudo mv .config.cfg.example .config.cfg
sudo nano .config.cfg

image

Usage/Examples

1 - Start the script

nettoyage_musique.sh

2 - Works

  • 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 :

    image

  • And will delete in 7 days.

Authors

👤 u2pitchjami

About

script cleaning my music bdd by removing empty directories or whitout music files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages