V
V
Valetorn2019-03-05 14:41:32
Windows
Valetorn, 2019-03-05 14:41:32

How to move local files from one directory to another using node.js?

Hello. There is a very simple task, but since I don’t know much about node.js, it’s a bit difficult for me. The bottom line is that you need to move files from one folder located on the local computer to another, also located locally (or create it? if it does not exist). How can this be implemented, preferably with the ability to select by file extension (.doc, .txt, .xml, etc.)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Shashenkov, 2019-03-05
@teknik2008

https://nodejs.org/api/fs.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question