Unzip archive into web root
Extract a downloaded .zip into /var/www/html (or anywhere else).
Extracts a zip archive directly into a web-accessible directory. The -o flag overwrites existing files without prompting, useful in automated deployment scripts.
When you need this: When deploying a zipped release artifact to a web server.
Variables
Command
17 views
5 copies
Related in this category
Log in to save
Free account. Save snippets into your own collections.