Hi All,
This question applies to Everything 1.5 1296a(x64)
I am cleaning up 1000 music folders,
There will be nested folders to some depth on this project.
And I need to find folders that do not contain music.
I want to get them in a list so I can batch file delete them.
This is what I tried!
It did not work!
I tried it with filter audio and everything.. not sure if that would have made a difference?
F:\DATA\MUSIC\ !child:*.mp3 !child:*.flac !child:*.ape !child:*.m4a
Does anyone know what the string command is to achieve this
Thank You.
Finding Folders that do not contain music files ?
-
- Posts: 68
- Joined: Fri May 28, 2021 7:55 am
Re: Finding Folders that do not contain music files ?
I think what you want is the following negated or-group syntax.
folder: !<child:*.mp3|child:*.flac|child:*.ape|child:*.m4a>
If you want to make sure the results are folders that contain at least one file in them, not just other folders, add this too.
childfilecount:>0
folder: !<child:*.mp3|child:*.flac|child:*.ape|child:*.m4a>
If you want to make sure the results are folders that contain at least one file in them, not just other folders, add this too.
childfilecount:>0
Re: Finding Folders that do not contain music files ?
Be careful with that!raccoon wrote: ↑Sat Jan 22, 2022 9:33 pmI think what you want is the following negated or-group syntax.
folder: !<child:*.mp3|child:*.flac|child:*.ape|child:*.m4a>
If you want to make sure the results are folders that contain at least one file in them, not just other folders, add this too.
childfilecount:>0
It will also report folders that have deeper subfolders.
For example:
"c:\Band\Year - Album\" contains your music files and c:\band\ only contains folders. Now C:\Band will be reported too, which would delete all your music !!
Add childfoldercount:0 to your search
-
- Posts: 68
- Joined: Fri May 28, 2021 7:55 am
Re: Finding Folders that do not contain music files ?
Thank You, David,
your suggestion worked
perfectly, it was nice, simple and uncomplicated to execute.
raccoon & NotNull
Thank you, for your suggestions.
they where much appreciated.
your suggestion worked
perfectly, it was nice, simple and uncomplicated to execute.
raccoon & NotNull
Thank you, for your suggestions.
they where much appreciated.