File CompressionLesson 37Free preview
Bash Compress (zip)
This lesson is part of Bash · All levels
Summary
The zip command creates a compressed archive that combines multiple files into one file. The -r option is used to include all the contents of the folder, and the original file remains unless you delete it yourself. The zip format can be unlocked on almost any operating system.
Key points
- Zip file1 file2 created an archive
- r enters the directory with its contents
- The source file is not automatically deleted
- Zip -e adds encryption to the password
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.