alternativeposa.blogg.se

Create zip command line windows
Create zip command line windows










create zip command line windows

If you plan on compressing multiple files within a folder, you will want to slightly modify the command with the -er flag like so: The file that was encrypted, “filetoprotect.txt”, is now inaccessible without entering that password. The resulting archive, in this case named “archivename.zip”, is now encrypted with the password provided.

  • Enter and verify the password – don’t forget this.
  • Launch the Terminal from the Applications > Utilities folder.
  • You can create password protected archives of files and folders: These encrypted zip files will maintain password protection across platforms, meaning you can send a protected zip file to a Windows user and they will still need to enter the password in order to view the contents. If you’re not sure how to use that, read on to learn how to create zip archives encrypted with passwords.

    create zip command line windows

    If you’re familiar with the command line, the syntax of the encrypted zip command is as follows:įor encrypting multiple files with a password, such as folder or an entire directory, the syntax would be as follows: How to Password Protect a Zip File from Mac OS X Command Line












    Create zip command line windows