megacolorboy

Back

Published on May 25th, 2020

Terminal

Zip a file

This comes in handy especially whenever you want to download multiples files from a server or take backups.For example: if you want to zip an entire directory with it's file contents, just do this:

1 minute read

This comes in handy especially whenever you want to download multiples files from a server or take backups.


zip [option] output_file input1 input2

For example: if you want to zip an entire directory with it's file contents, just do this:


zip -r myfiles.zip folder/