News for hackers. Stuff that matters.
Re:Show HN: Get rid of hidden files from zip files by techniko on Sunday May 20, 2018 @11:54PM (#17116021)
It uses JSZip to open the zip file, goes through and if the filename matches '__MACOSX' it removes it. That catches the hidden folders and files.

If you want go to JSZip's demo 'Reading a file' https://stuk.github.io/jszip/documentation/examples/read-loc... and drag your original zip in there to have a look at the hidden files and folders, and then the generated zip to see what was taken out

EDIT: updated link

There are no comments on this comment yet.