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?

  • 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 Feb 26 '16 at 14:07
  • I would like to keep it within my fme model. – Robert Buckley Feb 26 '16 at 17:54
  • You can merge csv here: [merge csv files](merge-csv.com ) – user2133694 Jan 9 '17 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. – DavidPostill Jan 9 '17 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 Jan 9 '17 at 14:45
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).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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