How do I move/delete/rename a busy Directory with node.js?
Currently I'm using fs-extra
package to move and replace a directory.
fse.move(src, dest, { overwrite: true }, err => {
if (err) return console.error(err)
console.log('moved')
})
src
and dest
have the same folder name of course, But dest
folder is busy and I need to overwrite even if it busy or blocked.