Find directories without music files

My ~/Music/ directory site is in fact packed with "empty" directory sites I intend to cleanse. I claim "empty" due to the fact that this directory sites in fact have files, some have old cover photo files or Thumbs.db files.

I intend to recursively delete every one of these directory sites that do not have any kind of songs files inside or various other directory sites inside.

As an example ~/ Music/Audioslave/ has a great deal of directory sites with cd names and also no songs files, yet I do not intend to delete it due to the fact that inside there are the songs files. I desire though to delete ~/ Music/Audioslave/oldalbum/ if the oldalbum directory site does not have neither songs files neither various other directory sites inside.

7
2022-07-25 20:46:29
Source Share
Answers: 0