Shell/Bash: linux zip a directory Example

By

Shell/Bash Example: This is the "linux zip a directory" Example. compiled from many sources on the internet by SimpleTutorials.org

linux zip a directory

zip -r filename.zip /path/to/folder1

linux tar zip folder

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

convert all files and folders in current directory into zip in linux

zip -r myfiles.zip mydir

create zip file ubuntu

zip -r output_file.zip file1 folder1



* Summary: This "linux zip a directory" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others