N
N
Nicholas2016-09-20 06:25:05
Node.js
Nicholas, 2016-09-20 06:25:05

How to overwrite file creation date in node.js?

Good afternoon!
You need to specify your date and time in the meta data (when it was created) of the file.
How can this be done in node?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pomeo, 2016-09-20
@pomeo

Through childprocess, run the system command "touch -d "date" filename"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question