zip

Updated: 18 March 2024

Zip a file

zip -r curl-debug-wp-plugin.zip ./curl-debug-wp-plugin --exclude '*.git*'

Zip a folder without including the root folder

zip -rj ctd-wp-theme.zip ./ctd-wp-child-theme