Skip to content

Instantly share code, notes, and snippets.

@IlkhamGaysin
Created September 18, 2019 12:41
Show Gist options
  • Save IlkhamGaysin/b5cb4ab42a79ced8920184748680c5a4 to your computer and use it in GitHub Desktop.
Save IlkhamGaysin/b5cb4ab42a79ced8920184748680c5a4 to your computer and use it in GitHub Desktop.

Options:

  • е — encrypt archive contents with password;
  • j — drop the path to the root folder i.e. Archive only its contents without regard to the folder itself;
  • r — recursively add folder contents.
 zip -ejr [path_of_new_file_with_name] [path_to_file_to_zip]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment