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?