Delete non-zip files in a directory recursively
Very basic but I use various variations all the time.
Copy this code and paste it in your HTML
if (f
==~ /.
*zip$/
|| !f.
isFile()) return f.delete()
}
Report this snippet
Comments
Subscribe to comments