Synopsis: export [-flNnR] [-r rev|-D date] [-k subst] [-d dir] module...
Changes: current directory.
This command is a variant of checkout; use it when you want a copy of the source for module without the cvsnt administrative directories. For example, you might use export to prepare source for shipment off-site. This command requires that you specify a date or tag (with -D or -r), so that you can count on reproducing the source you ship to others (and thus it always prunes empty directories).
One often would like to use -kv with cvs export. This causes any keywords to be expanded such that an import done at some other site will not lose the keyword revision information. But be aware that doesn't handle an export containing binary files correctly. Also be aware that after having used -kv, one can no longer use the ident command (which is part of the rcs suite--see ident(1)) which looks for keyword strings. If you want to be able to use ident you must not use -kv.
These standard options are supported by export (the section called “Common command options”, for a complete description of them):
Use the most recent revision no later than
If no matching revision is found, retrieve the most recent revision (instead of ignoring the file).
Local; run only in current working directory.
Do not run any checkout program.
Export directories recursively. This is on by default.
In addition, these options (that are common to checkout and export) are also supported:
Create a directory called
dir for the
working files, instead of using the module name. the section called “checkout options”, for complete details on how cvsnt
handles this flag.
Set keyword expansion mode (the section called “Substitution modes”).
Only useful together with -d
dir. the section called “checkout options”, for complete details on how cvsnt
handles this flag.