Removing all the files at once
include a wildcard character \* after the desired folder you want to delete, to avoid deleting the parent folder. Please look at the example below: hdfs dfs -rm -r /home/user/folder/\*
Last updated 5 years ago
Was this helpful?