Zip in Terminal (Mac/Linux)

Need to Zip Contents Using Terminal?

Why?

1.Because Your are working remotely?

2.May be your Connected to a machine Via SSH or alternative for it

3.You have access to Terminal Only

4.Duh! Just Wanna Know

Here are the steps:

1.Go to the Directory Which has the folder to be zipped (here Directory is Rahul and it has folder called Progs that has to be zipped

2.Use zip -r A B

Where A is the name of the eventually zipped file

B is the Folder to be Zipped

-r is Recursively descent the contents and apply zip (needed)

Screenshot:

Terminal Zip.png



One thought on “Zip in Terminal (Mac/Linux)

  1. Joseph says:

    I like the helpful info you provide for your articles.

    I’ll bookmark your blog and check once more right here regularly. I am moderately certain I’ll
    learn many new stuff right right here! Good luck
    for the next!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s