• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Zipping a directory file

W

webmason2

Guest
Newbie question sorry -

How do I Zip my httdocs directory?

Hope it's simple!

Tom
 
Change your working directory to httpdocs, e.g:
> cd /var/www/vhosts/domain.com/httpdocs
> zip archivename *
it will create archivename.zip containing all the files and subdirectories of httpdocs..
More details are here:
> man zip
 
Thank you Hedgren

Thank you Hedgren, I really appreciate it!

Tom
 
Back
Top