Skip to content

Latest commit

 

History

History
executable file
·
52 lines (35 loc) · 1.83 KB

README.md

File metadata and controls

executable file
·
52 lines (35 loc) · 1.83 KB

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