gzip

Updated: 14 January 2024

Create a gzip file of backup.sql and keep the original file

gzip --keep backup.sql

unzip

Updated: 27 May 2023

List, test and extract compressed files in a ZIP archive

Unzip a zip file

unzip wordpress-seo-premium-20.8.zip

zip

Updated: 21 September 2023

Zip a file

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