Skip to content

Instantly share code, notes, and snippets.

View WhiteyDude's full-sized avatar

Whitey WhiteyDude

  • Australia
View GitHub Profile
@zaifastafa
zaifastafa / unzip.sh
Created June 8, 2021 17:19
undo unzip
unzip -l ENTER_FILENAME.zip | awk 'BEGIN { OFS="" ; ORS="" } ; { for ( i=4; i<NF; i++ ) print $i " "; print $NF "\n" }' | xargs -I{} rm -rfv {}