troubleshooting Question

How to zip certain folders only using SSH & Putty?

Avatar of Bandai2
Bandai2 asked on
LinuxNetworkingSSH / Telnet Software
8 Comments2 Solutions1094 ViewsLast Modified:
I have a file structure like this on one of the servers I'm working on online:

foldera/
 -subfoldera/
 -filexx.xx
 -filexxx.xx
folderb/
folderc/
folderd/
foldere/
folderf/
file1.xx
file2.xx
file3.xx

I would like to put all files and folders and the contents inside each folder except for folderc in one zip file name bd.zip

How can I do this in SSH using Putty?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros