append

Appends the contents of a source file to a destination file.

Refer to files in the local file system by prefixing paths with the file: prefix.

Synopsis

append <source_filepath> <destination_filepath>

Options

destination_filepath

Explicit or relative filepath.

If the destination path ends with a name, the destination entry is given that name. If the destination path ends with a backslash (/), the original source file name is used.

Wildcard characters are supported. Explicit file system prefixes dsefs: and file: are supported. .. is the parent directory.

source_filepath

Explicit or relative filepath.

Wildcard characters are supported. Explicit file system prefixes dsefs: and file: are supported. .. is the parent directory.

Examples

Append local file to remote file:

dsefs dsefs://127.0.0.1:5598/ > append file:/home/cal09 dsefs:/data2/cal10

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2025 | Privacy policy | Terms of use Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM