0

I have an applescript that I would like to improve performance. Someone mentioned using node.js. I'm new to this and was wondering if the following is possible in node. I have a series of folders (say, Folder A, Folder B, etc.) and in these folders are subfolders named Main and Thumbnails. What my applescript does is pull all the files out of the Main folder into the root folder (Folder A, Folder B), then deletes the Main folder and the Thumbnails folder (files in Thumbnails are not needed).

Is this something that can be done in node.js?

1 Answer 1

1

Is this something that can be done in node.js?

Yes. But it is also something that can be done even simpler with a shell script.

But technically the answer to your question is: Yes.

Some APIs that you will most likely need to use:

Some modules that can help you simplify concurrency:

Sign up to request clarification or add additional context in comments.

2 Comments

Yeah, I would also go for a shell script, Node.js seems overkill (and probably has a steeper learning curve, too).
Thanks. I was able to convert it to node.js with your suggestions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.