How to “undo” unzip command?

Written on 03 August 2016

If you made a mistake , use command below to undo unzip.

$ zipinfo -1 path/to/file.zip | xargs -d '\n' rm -rf