I generate some files with N8N to import into one of our systems. But before doing so I need to convert the line endings of the binary files to Windows style format (CR+LF) with Notepad++ or something similar. N8N generates UNIX stlye formated files (LF only).
How can I do this inside N8N? I managed to get the encoding of the files fixed to get the in wondows1251 (yes I know our system is pretty outdated in that regard) encoding with n8n-nodes-text-manipulation - npm community package.
Hi @vuchl, I don’t think any of the default n8n nodes let’s you currently specify the line ending unfortunately. Could you perhaps consider writing your file through the echo command in the Execute Command node? This way, the OS would handle the line breaks.