Terminal Tip: Zip Files & Folders
Aug 21st, 2008 by Willy V.
Terminal Tip: Zip Files & Folders
Terminal Tip: Zip Files & Folders In this short tutorial I will show you how you can zip a file or a folder in terminal.
To zip a file see example:
zip zipname.zip path/filename.txt
press return now you have a zipped file called zipname.zip
To zip a folder and all of it’s contents like subfolders see example:
zip -r zipfilename.zip path/folder_to_zip
press return now you have a zipped file called zipfilename.zip
Please link to me
Of course, because this isn't REALLY a post on your blog, it can't put the link or title of any actual blog post, so I've taken the liberty of making it really easy for you to "please link 2 me" :-)













