I am looking for a solution to read a folder content with mel. Pretty simple - ok! ;-) But the problem is that it works fine on the pc but doesn't work the same on osx.
I use the command "getFileList -fld $myFolder", which returns the overall content of that folder - including file names AND folders. On osx it just returns the file names! But not folder names! Does anyone know what command would be appropriate to do so?
The reason behind all is that I have written a rigging script that is also capable of storing/reading poses and animations. I store the data in a separate folder. Upon script execution it looks for that specific folder in the current project directory. If there is none, the script creates a new folder and stores the data into it.
I have been putting off this problem since it doesn't occur on my pc, but now I need to find a solution since it's supposed to be running on osx ;-) Problem: There is no Mac anywhere near me! ;-)
If anyone knows a solution to that I would really appreciate if he'd share it.