Zipping A Directory In Linux
Zip is a compression and file packaging utility for Unix.
This utility is installed by default on most Linux computers. he program is useful for packaging a set of files for distribution; for archiving files; and for saving disk space by temporarily compressing unused files or directories.
To zip directory called MyDir in your home directory (/home/MyDir), type the following command:
This utility is installed by default on most Linux computers. he program is useful for packaging a set of files for distribution; for archiving files; and for saving disk space by temporarily compressing unused files or directories.
To zip directory called MyDir in your home directory (/home/MyDir), type the following command:
$ zip -r mydir.zip /home/MyDir
Comments
Post a Comment