> ## Documentation Index
> Fetch the complete documentation index at: https://anaconda.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# anaconda repo copy

## Usage

```bash theme={null}
anaconda repo copy <SPEC> [<SPEC> ...] [OPTIONS]
```

## Description

Copies packages from one channel to another. Specs are written as `<channel>[/<subchannel>][::<package>[/<version>[/<filename>]]]`. If filename is omitted, all files for that version are copied; if version is also omitted, all versions of the package are copied.

## Arguments

Argument

Description

`SPEC`

\*(required)\* Package spec: \<channel>\[/\<subchannel>]\[::\<package>\[/\<version>\[/\<filename>]]]. One or more specs can be provided.

## Options

Option

Default

Description

`-d, --destination <DEST>`

Destination channel (and optional subchannel)

`--family <FAMILY>`

`conda`

Artifact family: `conda`, `python`, `cran`, `anaconda_project`, `anaconda_env`, `notebook`, `gra`

`-h, --help`

Show help for this command

## Examples

**Copy a package to another channel**

```bash theme={null}
anaconda repo copy mychannel::mypackage/1.0.0 --destination otherchannel
```

**Copy a specific file**

```bash theme={null}
anaconda repo copy mychannel::mypackage/1.0.0/mypackage-1.0.0.tar.gz -d otherchannel
```

**Copy multiple specs**

```bash theme={null}
anaconda repo copy channel1::pkg1 channel1::pkg2 -d channel2 --family conda
```
