KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am able to copy a file in node.js using the following: var readStream = fs.createReadStream(fromFilePath); readStream.pipe(fs.createWriteStream(toFilePath)); The question is how to also copy/keep the modified time (mtime) like in a regular file copy command.
Tags (comma-separated)
Save Edits
Cancel