4

I have some csv files which have varying contents. I want to simply disregard the schema and write the lines of text into one file. Which transformers or technique could I use to achieve this?

6
  • 1
    I have done this in windows and mac on the command line - very easy.wikihow.com/Merge-Text-(.Txt)-Files-in-Command-Prompt
    – Sethinacan
    Commented Feb 26, 2016 at 14:07
  • I would like to keep it within my fme model. Commented Feb 26, 2016 at 17:54
  • You can merge csv here: [merge csv files](merge-csv.com ) Commented Jan 9, 2017 at 14:13
  • Please read the question again carefully. Your answer does not answer the original question. OP wants to do this with FME not an online resource. Commented Jan 9, 2017 at 14:22
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – MaryBeth
    Commented Jan 9, 2017 at 14:45

1 Answer 1

4

If you want to treat the CSV files as just being text files, then use a text reader to read them (simplest to just use a single dynamic version rather than separate feature readers). The files will be read in and treated just as though they're a normal text file; schema will be ignored.

You can write them out into one single file using a single text writer. The entire workspace should only consist of those two transformers (one dynamic text reader, one text writer).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.