ZIP the contents of the current folder into a zip with itβs parent directory as itβs name. Useful for zipping just the contents without the folder parent folder.
zip -r "${PWD##*/}".zip .Zip the current directory into a folder called app.zip:
zip -r app.zip .Especially useful for proprietary email clients, Iβm looking at you Dell EMC, and certain manifest files.