Name

export — Synonyms: exp, ex

Synopsis

cvs [cvs-options] export [-flnNR] [-r revision] [-d directory-name] [-D date] 
[-k mode] [-r revision] project
                  

Create a directory containing all directories and files belonging to a specified release of a project, with no CVS administrative files.

See also checkout and update.

Command options

-d directory-name

Export the project into a directory called directory-name instead of using the repository directory name or the name designated in the modules file in the repository’s CVSROOT directory.

CVS usually creates the same directory structure that the repository uses. However, if the export contains only one file and -d is used, CVS does not create any intervening directories. Use -N to prevent CVS from shortening the path.

-D date

Export the latest revision of each file in a project that is older than the date or time specified by date. This option implies the -P option.

-f

Use the latest (HEAD) revision on the current branch or trunk of a project if no revision matches the date or revision number. This applies only if -r or -D is used.

-k mode

Export a release with the designated keyword-expansion mode. This option overrides the default mode for each file.

The keyword-expansion modes are listed in Section 11.6 of Chapter 11.

-l

Run export on the files in the local directory only. (Do not recurse into subdirectories.)

See also -R.

-n

Do not run any program listed in the relevant line of the modules file in the repository’s CVSROOT directory.

-N ...

Get Essential CVS 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.