Answers for "javascript remove files name starts with"

0

javascript remove files name starts with

var glob = require("glob")

// options is optional
glob("**/profile-photo-*.png", options, function (er, files) {
    for (const file of files) {
         // remove file
    }
})
Posted by: Guest on September-20-2021

Code answers related to "javascript remove files name starts with"

Code answers related to "Javascript"

Browse Popular Code Answers by Language