'How to know the status of progress of fs's copy and rename in Nodejs

I am not talking about upload and download.

I want to know the status of progress in a driver and between drivers.

For example, copying file with fs.copy needs time to be done, but there is no way how much the work is done. Furthermore, Renaming between different hard disks also needs time to be finished. However, there are no way to know the progress percentage or size.

Does anybody know how to get the information during copy or rename?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source