7-zip
From Jonsdocswiki
7-Zip is a free, open source, archiver capable of reading and compressing in a multitude of formats. By default, the 7-zip executables are not in the Windows path.
Example command line use
| Creating an archive on the command line |
|
c:\>7z a -r -tzip jonathan.zip <list of files>
|
- 7z is the program name
- a adds to archive
- -r recurses down directories
- -tzip chooses the zip archive type note no space between -t and the type
- jonathan.zip the archive name
- <list of files> the paths to files / directories
| Updating an existing archive on the command line |
|
c:\>7z u -r -tzip jonathan.zip <list of files>
|
- 7z is the program name
- u updates an existing archive
- -r recurses down directories
- -tzip chooses the zip archive type note no space between -t and the type
- jonathan.zip the archive name
- <list of files> the paths to files / directories
| Viewing 7zip help on the command line |
|
c:\>7z --help
|
- Shows the 7-zip help
