Copy File

What does Copy File do?

The Copy File directive copies a file from a source path to a new target path.

How do I use the Copy File directive?

To create a file, enter the source directory path for the file to copy, and then enter the target directory path for the new copied file.

Copy file directive settings
Copy file directive settings

Behaviour of the Copy File directive

  • The directive will fail if you do not have access to reading the source file or writing to the target file path.
  • You can use Liquid variables to dynamically set the values of the source and target file destination.

Example use cases for the Copy File directive

  • Copying (duplicating) a file from one folder/directory to another