Applies to: 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.
ADD [ FILE | FILES ] resource_name [...]
The name of a file or directory to be added.
> 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";