rizidoro rizidoro - 4 months ago 73
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.