rizidoro rizidoro - 6 months ago 84
Node.js Question

How I move files on node.js?

How can I move files (like mv command shell) on node.js? Is there any method for that or I need to read a file, write to new file and remove older file?


According to seppo0010 comment, I used the rename function to do that.