Increment the filename if it already exists when saving files in node.js?

前端 未结 0 694
庸人自扰
庸人自扰 2020-12-22 09:25

Is there a simple way to make node.js increment the filename of a file (i.e., append a number, so that it doesn\'t overwrite previous files) when saving it?

Below is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题