Shell/Bash: linux zip a directory Example


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

linux zip a directory

zip -r /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 mydir

create zip file ubuntu

zip -r 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!