Question: how to move file from one folder to another in node js?
Answer: Use the mv node module which will first try to do an fs. rename and then fallback to copying and then unlinking. assumming that you want to keep the file name unchanged. The fs-extra module allows you to do this with it's move() method.