根据seppo0010的评论,我使用了重命名功能。
http://nodejs.org/docs/latest/api/fs.html#fs_fs_rename_oldpath_newpath_callback
fs.rename(oldPath,newPath,回调)
在v0.0.2中添加
oldPath <String> | <Buffer>newPath <String> | <Buffer>callback <Function>异步重命名(2)。除了可能的异常外,没有其他参数被赋予完成回调。



