p4 zip
Synopsis
Package a set of files and their history for use by p4 unzip.
Syntax
p4 zip -o file
[-r
remote
-A -I] [filespec
| -c
change
]
Description
Writes the following to the specified zip file:
-
the specified set of files
-
the changelists that submitted those files
-
the files' attributes
-
any fixes association with the changelists
-
all integration records that describe integrations to the files being zipped
Options
|
Include the archive content of the new revisions. |
|
Zips up just the files covered by the specified changelist. |
|
Excludes integration records for the new revisions. |
|
Specifies the zip file name. |
|
Specifies the remote spec to be used to re-map the files when they are written to the zip file. |
|
Specifies the filepath of the files to zip up. |
Usage Notes
Can File Arguments Use Revision Specifier? |
Can File Arguments Use Revision Range? |
Minimal Access Level Required |
---|---|---|
Yes |
Yes |
|
Examples
p4 zip -o foo //... |
Creates a zip file named |