This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

CopyFolder

<CopyFolder from="" to="" depth="" />

Occurs: Inside finalize

Multiple instances: Yes

Has attributes: Yes - from, to, depth

Self-closing: Yes

Used to copy source file from folders in the Wizard bundle to the local drive. Before folder contents can be copied in this way, the target folder must exist (use CreateFolder if needs be).

from. Source location of the folder - normally in the source file bundle

to. Target location of the folder - normally on the local hard drive using a location set by (or build on from) a value input via a filePanel pane.

depth. Indicates how many levels of folder are being written. Presumably this helps Tinderbox call a recursing function with more accuracy).

Example:

<CopyFolder from="$pathToHTMLTemplates" to="$DestinationFolder+html templates" depth="1" /> 


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Syntax Library: Tutorials, Wizards and Timelines : Tinderbox Wizards : A 'wizard.twiz' file : Wizard XML Syntax : CopyFolder