Exec node with dynamic filename

I can copy a file fine using the copy command in the Exec node, but is there a way the filenames could be based on a payload variable?


Also, you might want to look at node-red-contrib-fs-ops

If you still want to use the exec node then it can be passed the complete command (so you can build that up before passing it to the exec node) by leaving the Command field empty and selecting Append Payload. Alternatively, where appropriate, you can put the bulk of the command in the node and then just pass parameters in the payload, again with Append selected.

Can you show me an example of that?

With fs-ops