Name

export

Synopsis

cvs [cvs-options] export [options]project

Create a directory containing all directories and files belonging to a specified release of a project, with no CVS administrative files. It acts like a checkout or update for that specific point, but it does not produce the CVS administrative files. export requires the -r or -D command options. When exporting, the repository path must be specified by using the -d repository_path CVS option or the CVSROOT environment variable. See also checkout and update.

The argument to export can be a directory name or path within the repository, a filename or path within the repository, or a module name as specified in the modules file in the repository’s CVSROOT directory.

Tip

You can imply the repository path by being in a sandbox, but exporting into a sandbox is not recommended.

Synonyms: exp, ex.

Standard subcommand options: -d, -D, -f, -k, -l, -n, -N, -r, -R.

Example

    $ cvs -d cvs:/var/lib/cvs export -D now wizzard
    cvs server: Updating wizzard
    U wizzard/Changelog
    U wizzard/INSTALL
    U wizzard/Makefile

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.