How to zip a folder via SSH Terminal Hacks | 20 comments zip -r filename.zip foldername/ via webhostingtalk.com This is how you can zip a folder via SSH on your Linux server. Works on Debian and other servers. 20 Comments Talha on April 20, 2015 at 10:25 am Great thanks:) Reply deepak singh on August 24, 2017 at 1:29 pm thank you its helpful Reply Hazem Noor on June 16, 2015 at 9:19 pm Thank you 🙂 Reply David on September 8, 2015 at 9:59 pm Thanks! better zip than tar…. 😉 Reply Georgia on September 28, 2015 at 3:39 am Thanks that took 1 second to work. Reply deni on September 29, 2015 at 3:08 pm thanks man, it’s rather simple Reply Yatramantra on November 29, 2015 at 10:07 am one line of code saved a lot! Reply Ryan on April 3, 2016 at 5:40 am Simple. To the point. Get’s the job done! Reply mosab elhag on April 10, 2016 at 12:34 pm Thanks it helps me . Reply circuitmamu on May 20, 2016 at 7:42 am how can make zip silently that doesn’t output anything if there are thousands of folders and files inside foldername Reply postcode finders on June 22, 2016 at 5:05 am thanks man, keep sharing bro! Reply Taha Kazi on July 7, 2016 at 1:53 pm thanks Reply Camilo on July 10, 2016 at 3:27 am Thanks man, that’s the tips that everybody want to find in the world wild web Reply Webdesigner on July 18, 2016 at 1:09 pm always happy to find someone documented this in the web. I dont work with SSH daily so this helps a lot. Reply Yogesh Ramrakhani on July 29, 2016 at 6:57 am thanks man! Reply nathan on August 3, 2016 at 5:44 pm Mind Blown Reply Andres on September 8, 2016 at 3:54 pm Thank you! Reply Dr Irfan M on September 11, 2016 at 9:06 am Its great, I think the point is to install a free filemanager on the server to manage easily, Reply ruhan on July 14, 2017 at 11:55 am Thanks bro, working fine on my centos 7 Reply Maxime Blanquart on February 10, 2018 at 12:33 pm thank you 😉 Reply Submit a Comment Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website Save my name, email, and website in this browser for the next time I comment.