Wiki source for CommandsXzip


Show raw source

======Command xzip======

====Name====
**xzip** Creates a ZIP archive

====Synopsis====
xzip [ [[SerializationOptions serialization options]] ] [options]

====Options====

||-f,-file file||Output ZIP file||



Supports the standard [ [[SerializationOptions serialization options]] ]

====Description====
Creates a ZIP file from all its arguments. All files and directories are recursively added to the zip file.

Example: create a zip file of all files in the current directory

%%(shell)
xzip -f /tmp/archive.zip *
%%

====Return Value====
Returns 0 if the archive is archived successfully, otherwise 1.
----
See also [[CommandXUnzip xunzip]]
[[Commands]]
[[CategoryCommands]]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki