SongKong Jaikoz

SongKong and Jaikoz Music Tagger Community Forum

Cleaning up of old folders for songs I've deleted

I have cleaned up my library and removed a ton of songs. I checked my file system and it still contains the folder structures for the songs I deleted. Ideally I would like to save the songs in a new directory which contains no folders, only the songs themselves. I’m sure this can be done but can anyone help me figure out to do this? Thanks in advance.

Gary

Hi Gary, it can be done but I wouldn’t recommend storing all files flat in a single folder, it makes it very difficult to identify albums if the metadata is incomplete.

Paul - understand. Is there a way to remove folders which do not contain any songs? Really trying to clean up. Thanks for your input.

Gary

When you use the Rename Files to move files or Delete Duplicates to delete files there are options to delete empty folders. But if you didn’t use these options or moved/deleted the files outside of SongKong there is not a task that simply deletes empty folders, although we already have an enhancement request for that.

However, this is is easy enough to do outside of SongKong, for example according to Chatgbt this is how to do it on

Windows

  • Open Command Prompt

  • Navigate to your parent folder:

     cd "D:\Music"
    
  • Delete Empty Folders

    `for /f "delims=" %d in ('dir /ad/b/s ^| sort /R') do rd "%d"`
    

MacOS/Linux

  • From Terminal run:

    find /path/to/music -type d -empty -delete