Skip to main content
Solved

Directory and File Pathnames - multiple file extensions?

  • October 11, 2018
  • 6 replies
  • 184 views

bark0s
Contributor
Forum|alt.badge.img+3

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

View original
Did this help you find an answer to your question?

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
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • October 13, 2018
david_r wrote:

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
david_r wrote:

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+3
  • Author
  • Contributor
  • October 15, 2018
david_r wrote:

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
david_r wrote:

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
Supporter
Forum|alt.badge.img+11
  • Supporter
  • September 4, 2023
david_r wrote:

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.


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