BWFMetaEdit icon indicating copy to clipboard operation
BWFMetaEdit copied to clipboard

CLI: Option to include subdirectories

Open MarcosSueiro opened this issue 10 months ago • 2 comments

--include-subfolders or something like that Alternatively, --ignore-nonWAV

Use case: many WAVE files in subfolders mixed in with even more non-WAVE files.

MarcosSueiro avatar Feb 11 '25 10:02 MarcosSueiro

Noting that with the GUI non wav files seem to be ignored but in the cli, they are listed as not having the right header.

For bwfmetaedit dir/ when the dir includes wavs and non-wavs, I suggest the CLI and GUI read/ignore the same files.

@MarcosSueiro, in both the cli and gui, subdirectories seem to be included when reading from a parent directory. Is the option --include-subfolders needed? Or perhaps a --depth x option to limit the recursion?

dericed avatar Feb 15 '25 19:02 dericed

My bad! As you note @dericed, I actually was trying to avoid the noise of non-WAV files by doing a pseudo Perl like directory/subdirectory/*.wav. This would be a nice feature (which would also allow the ability to do something like directory/subdirectory/*fileKw*.wav), but I assume not easy to implement.

MarcosSueiro avatar Feb 24 '25 14:02 MarcosSueiro