#### 44.6.6 Listing extracurricular files to put in the wrap directory

If your distribution should include other files in addition to those produced by DITA2Go, you can have those files copied into the wrap directory after conversion.

[Automation]
; CopyAfterFrom = path to directory containing files to add to the
; wrap directory, after moving other files there; for example:
CopyAfterFrom = ..\..\keepers
; CopyAfterFiles = list of files to copy from CopyAfterFrom
; to the wrap directory, default is no files; for example:
CopyAfterFiles = *.bookmap

For CopyAfterFrom you can specify either an absolute path or a path relative to the project directory. If the path contains spaces, you must enclose it in quotes.

CopyAfterFiles lists the files to copy from the CopyAfterFrom directory to the wrap directory, after all other files have been placed in the wrap directory.

The file specifications you assign to CopyAfterFiles must be separated by spaces, but no spaces are allowed within a file specification. You can use wildcards in file specifications. File specifications can include absolute or relative paths to indicate where files should be copied from; the default is from the CopyAfterFrom directory, and relative paths are relative to the CopyAfterFrom directory. The destination is always the wrap directory.

Previous Topic: 44.6.5 Understanding which files are copied from where

Next Topic: 44.7 Placing graphics files for distribution

Parent Topic: 44.6 Assembling files for distribution

Sibling Topics:

44.6.1 Specifying a wrap directory

44.6.2 Emptying the wrap directory before copying

44.6.3 Listing files to copy to the wrap directory

44.6.4 Understanding when to use other file copy settings

44.6.5 Understanding which files are copied from where

Table of Contents • Index