sure. it's like: <matName> - it's a name of the folder (M_<matName>) containing all the listed textures. I've tried to search for that folders first and copy them into specific folder but I don't know how to search for folders. so I came with this bright idea. also the structure of the tree is supposed to be any. Right…
I'm trying to search through files but I can't manage to put file extension from pattern. here's my code: fn FindAndReplace str fnd rpl = ( addpos = findString str fnd if (addpos != undefined) do (replace str addpos fnd.count rpl) ) fm = openFile "D:\\path\\00BCB111D67783\\1FA83D69D89B24_materials.txt" mode:"rt" line_cnt =…