rizidoro rizidoro - 1 year ago 174
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?

Answer Source

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



Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download