Viewing the contents of a zip as a tree
I was building some jar’s for a Jenkins shared pipeline and trying to validate what files/folders were included in the result. Normally I use the tree
command to inspect directories like this, as it makes more visual sense to me. However to view the contents of a zip we have to do something like unzip -l filename.zip
which gives us a pretty verbose and difficult to understand result (at least to me).