Skip to main content
Archived

FilePathNameCombiner

Related products:FME Form
mark2atsafe
  • mark2atsafe
    mark2atsafe

jdh
Contributor
  • Contributor

It would be nice if there was a native fme transformer to intelligently join file path components, similar to python's os.path.join.

ie concatenate all the parts with exactly one directory separator ( or /) unless already included in the part, ignore empty parts except the last.

So something like
attr1: d:
attr2: dir1
attr3: dir2
attr4: dir3dir4
attr5: {missing}
attr6: file.ext

would become d:dir1dir2dir3dir4file.ext

Even better if it could work with either a series of attributes or a list

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings