Jaa


ADD FILE

Applies to: check marked yes Databricks Runtime

Adds a single file as well as a directory to the list of resources. The added resource can be listed using LIST FILE.

Syntax

ADD [ FILE | FILES ] resource_name [...]

Parameters

  • resource_name

    The name of a file or directory to be added.

Examples

> ADD FILE /tmp/test;

> ADD FILE "/path/to/file/abc.txt";

> ADD FILE '/another/test.txt';

> ADD FILE "/path with space/abc.txt";

> ADD FILE "/path/to/some/directory" "/path with space/abc.txt";