Skip to main content
Solved

Directory and File Pathnames - multiple file extensions?

  • October 11, 2018
  • 6 replies
  • 258 views

bark0s
Contributor
Forum|alt.badge.img+4

Is it possible to search for multiple file extensions in the one directory and file pathnames reader simultaneously?

Path Filter:

* - returns all files

*.dgn - returns all dgn files

*.dgn,*.shp - returns 0 results

Can someone please help me with the correct syntax for multiple file extensions in Path Filter?

Best answer by david_r

Try the following

*.{dgn,shp}

Make sure there are no spaces inside the braces.

Doc: http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_ReadersWriters/path/PATH_reader.htm

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, 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.

6 replies

david_r
Celebrity
  • Best Answer
  • October 11, 2018

Try the following

*.{dgn,shp}

Make sure there are no spaces inside the braces.

Doc: http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_ReadersWriters/path/PATH_reader.htm


danilo_fme
Celebrity
Forum|alt.badge.img+52
  • Celebrity
  • October 13, 2018

Try the following

*.{dgn,shp}

Make sure there are no spaces inside the braces.

Doc: http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_ReadersWriters/path/PATH_reader.htm

Excellent @david_r

 


  • October 15, 2018

Try the following

*.{dgn,shp}

Make sure there are no spaces inside the braces.

Doc: http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_ReadersWriters/path/PATH_reader.htm

Great to see an answer 3 days before I had the same question :-)

 

 


bark0s
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • October 15, 2018

Try the following

*.{dgn,shp}

Make sure there are no spaces inside the braces.

Doc: http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_ReadersWriters/path/PATH_reader.htm

Thanks very much, that worked like a charm!

 

 


achilles07
Participant
Forum|alt.badge.img
  • Participant
  • May 4, 2020

Try the following

*.{dgn,shp}

Make sure there are no spaces inside the braces.

Doc: http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_ReadersWriters/path/PATH_reader.htm

Thanks @david_r. Saved my precious time, as I didn't go through your document properly. 


chriswilson
Enthusiast
Forum|alt.badge.img+21
  • Enthusiast
  • September 4, 2023

Try the following

*.{dgn,shp}

Make sure there are no spaces inside the braces.

Doc: http://docs.safe.com/fme/2018.1/html/FME_Desktop_Documentation/FME_ReadersWriters/path/PATH_reader.htm

Just used this, thanks David for the tip.