Show HN: Get rid of hidden files from zip files (turquoise-turtle.github.io) 2 points by techniko 8y ago ↗ HN
[–] gus_massa 8y ago ↗ Does this clean the hidden folders and properties that MacOS adds and is almost impossible to delete in Windows? [–] techniko 8y ago ↗ 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 outEDIT: updated link [–] techniko 8y ago ↗ It now shows you a list of files before and after
[–] techniko 8y ago ↗ 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 outEDIT: updated link
3 comments
[ 3.1 ms ] story [ 22.4 ms ] threadIf 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