<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 command from variable HADOOP_FS_RM, which is by default ‘hadoop fs -rm’.
When argument contains ‘s3://’, then it is supposed to be on AWS S3 file system and calls the command from variable AWS_S3_RM, which is by default ‘aws s3 rm’.
In all other cases standard ‘rm’ command is used.
Rm [-f|--force] [-r|-R|--recursive] <dest>... evl rm [-f|--force] [-r|-R|--recursive] <dest>... [--verbose] evl rm ( --help | --usage | --version )
- -f, --force
ignore nonexistent files and arguments, never prompt
- -r, -R, --recursive
remove directories and their contents recursively
- To remove file from HDFS: