ADD FILE

Description

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

Syntax

  1. ADD { FILE | FILES } resource_name [ ... ]

Parameters

  • resource_name

    The name of the file or directory to be added.

Examples

  1. ADD FILE /tmp/test;
  2. ADD FILE "/path/to/file/abc.txt";
  3. ADD FILE '/another/test.txt';
  4. ADD FILE "/path with space/abc.txt";
  5. ADD FILE "/path/to/some/directory";
  6. ADD FILES "/path with space/cde.txt" '/path with space/fgh.txt';