Zip a directory using PuTTy (SSH)


/ Published in: Bash
Save to your folder(s)

<p>This zips all files and directories</p>

<p>-r:Includes all files and directories -> Files</p>

<p>filename.zip:The zip file you want to create</p>

<p>foldername:The folder you are targetting or use * if your currently in the folder</p>


Copy this code and paste it in your HTML
  1. zip -r filename.zip foldername

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.