rez-cp

Usage

rez cp [-h] [--dest-path PATH] [--paths PATHS] [--nl]
              [--reversion VERSION] [--rename NAME] [-o] [-s]
              [--follow-symlinks] [-k] [-f] [--allow-empty] [--dry-run]
              [--variants INDEX [INDEX ...]] [--variant-uri URI] [-v]
              [PKG]

description

Copy a package from one repository to another.

Options

--dest-path <path>

package repository destination path. Defaults to the same repository as the given package (this is only supported for renaming and reversioning).

--paths <paths>

set package search path (ignores --no-local if set)

--nl, --no-local

don’t search local packages

--reversion <version>

copy to a different package version

--rename <name>

copy to a different package name

-o, --overwrite

overwrite existing package/variants

-s, --shallow

perform a shallow copy (symlinks topmost directories)

follow symlinks when copying package payload, rather than copying the symlinks themselves.

-k, --keep-timestamp

keep timestamp of source package. Note that this is ignored if you’re copying variant(s) into an existing package.

-f, --force

copy package even if it isn’t relocatable (use at your own risk)

--allow-empty

allow package copy into empty target repository

--dry-run

dry run mode

--variants <index>

select variants to copy (zero-indexed).

--variant-uri <uri>

copy variant with the given URI. Ignores --variants.

-v, --verbose

verbose mode, repeat for more verbosity