Folder/File imports and spaces question

Using my mosaic filter on Windows, I noticed spaces breaks the filter when using folder import option. Is this a program bug or how do I fix it?

You mean when you use the GUI? Any spaces need to be quoted and / or escaped.

Yes.

So, is there a easy way to allow the gui filter to automatically assign spaces?

Like this

files_location="$1"
do something to make variable fit requirement.

Would normalize_filename work?

Spaces have meaning in the path. I don’t think changing them to underscores would work.