Skip to main content
Solved

Write multiple files in a directory

  • November 2, 2018
  • 3 replies
  • 127 views

Hi all.

 

I am trying to read a directory with many TIFF files, select the latest ones and copy or move them to a new directory.

 

I read the files with a Feature reader using the Directory and File Pathnames format.

The files got the date-time in the name so I use the Sorter to find the latest one and then I use the Sampler to select a few of them.

 

Can someone advise me how to write them now in another directory?

 

Many thanks

 

 

 

Best answer by redgeographics

Try the FileCopy writer.

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

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+49
  • Celebrity
  • Best Answer
  • November 2, 2018

Try the FileCopy writer.


Thank you for the quick response.

 

I did that and the translation was successful but the directory is empty.

 

this is the situation...

 

 


It worked!

:)

Thanks!

This also helps https://blog.safe.com/2013/07/fmeevangelist117/


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