EVL – ETL Tool


Products, services and company names referenced in this document may be either trademarks or registered trademarks of their respective owners.

Copyright © 2017–2022 EVL Tool, s.r.o.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.

Table of Contents

Rm

(since EVL 2.0)

Remove <dest>, which might be one of:

<local_path>
hdfs://<path>
gs://<bucket>/<path>
s3://<bucket>/<path>
sftp://<path>

So when argument contains ‘hdfs://’, then it is supposed to be on HDSF file system and calls the function ‘evl_hdfs_rm’, which is by default ‘hadoop fs -rm’.

When argument contains ‘s3://’, then it is supposed to be on S3 file system and calls the function ‘evl_s3_rm’, which is by default ‘aws s3 rm’.

In all other cases standard ‘rm’ command is used.

Synopsis

Rm
  [-f|--force] [-r|-R|--recursive] <dest>...

evl rm
  [-f|--force] [-r|-R|--recursive] <dest>...
  [--verbose]

evl rm
  ( --help | --usage | --version )

Options

-f, --force

ignore nonexistent files and arguments, never prompt

-r, -R, --recursive

remove directories and their contents recursively

Examples

  1. To remove file from HDFS:
    Rm hdfs://some/path/to/file