ADD ARCHIVE
Description
ADD ARCHIVE
can be used to add an archive file to the list of resources. The given archive file should be one of .zip, .tar, .tar.gz, .tgz and .jar. The added archive file can be listed using LIST ARCHIVE.
Syntax
ADD { ARCHIVE | ARCHIVES } file_name [ ... ]
Parameters
-
file_name
The name of the archive file to be added. It could be either on a local file system or a distributed file system.
Examples
ADD ARCHIVE /tmp/test.tar.gz;
ADD ARCHIVE "/path/to/some.zip";
ADD ARCHIVE '/some/other.tgz';
ADD ARCHIVE "/path with space/abc.tar";
ADD ARCHIVES "/path with space/def.tgz" '/path with space/ghi.zip';