If you are looking to create zip folder on your server with terminal or putty, please follow the step below:
1) Get connected with server
ssh -i "/pemfilepath/my_server.pem" username@serverIP
2) Replace your pem file path and username with your server username and server IP
/data/html/myproject/wp-content/themes$ zip -r givenly.zip givenly
Note :: givenly is the folder name thats I want to zip
0 Comment(s)