Linux how to: Zip contents of a directory, excluding certain sub
![Linux how to: Zip contents of a directory, excluding certain sub](https://silicondales.com/wp-content/uploads/2016/03/zip-amp-banner-size.jpg)
Have you ever wanted to zip an entire directory, but exclude the contents of one or two (or more!) sub-directories, using PuTTy (or another terminal) over SSH.
![](https://i.ytimg.com/vi/qMb7JzSuETY/maxresdefault.jpg)
Unix & Linux: zip all files and subfolder in directory without
![](https://i1.wp.com/osxdaily.com/wp-content/uploads/2012/01/zip-password.jpg?resize=350%2C200&ssl=1)
How to Exclude Files from a Zip Archive
![](https://www.ezyzip.com//assets/images/how-to/listing-en.png?17062022b)
Unzip Files Online (No limits!) - ezyZip
![](https://www.cyberciti.biz/media/new/faq/2008/08/find-command-regex-output.jpg)
Find command Exclude or Ignore Files (e.g. Ignore All Hidden .dot
![](https://tecadmin.net/wp-content/uploads/2015/01/check-directory-tree.png)
How to Exclude Files from a Zip Archive – TecAdmin
![](https://monovm.com/wp-content/uploads/2021/05/cover263-main.webp)
How to Unzip in Linux [Linux Unzip] - Unzip command in Linux
![](https://i0.wp.com/css-tricks.com/wp-content/uploads/2009/10/default.png?resize=530%2C242)
Display Styled Directory Contents
![](https://tecadmin.net/wp-content/uploads/2015/01/zip-exclude-single-file.png)
How to Exclude Files from a Zip Archive – TecAdmin
![](https://shellgeek.com/wp-content/uploads/2022/01/powershell-gci-get-childitem.png)
PowerShell Get-ChildItem (gci,dir) Guide [With Examples] - ShellGeek
![](https://www.tecmint.com/wp-content/uploads/2016/10/Delete-Files-Using-Bash-GlobIgnore.png)
3 Ways to Delete All Files in a Directory Except One or Few Files
![](https://www.tecmint.com/wp-content/uploads/2017/07/Extract-Zip-Files-to-Specific-Directory.png)
How to Create and Extract Zip Files to Specific Directory in Linux
![](https://files.realpython.com/media/Using-ZIP-Files-With-Python_Watermarked.220b1d6e93a4.jpg)
Python's zipfile: Manipulate Your ZIP Files Efficiently – Real Python