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
- To remove file from HDFS:
Rm hdfs://some/path/to/file