How to delete local file

Hi,
I use files on my local disk, I would like to delete these files once my treatments are finished. I have to admit that I have not found how to do this operation simply

Thanks for your help

You can use the Execute Command Node in combination with the file delete command (in the case of Linux rm). So for example rm my-file.txt

2 Likes

well…I didn’t think it would be as simple as that, it’s a command I use regularly but I didn’t think it was applicable in n8n :flushed: :flushed:

thank u very much

2 Likes

You are welcome. Have fun!