Project

General

Profile

Actions

Feature #55554

open

cephfs-shell: 'rm' cmd needs -r and -f options

Added by Dhairya Parmar about 2 years ago. Updated 10 months ago.

Status:
In Progress
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
cephfs-shell
Labels (FS):
task(easy)
Pull request ID:

Description

Currently, in cephfs-shell, there is no option to delete a non-empty directory. If there is any dir that contains file(s) in it, it/they need(s) to be removed manually using 'rm', and only then deletion of that dir can take place. Therefore, 'rm' cmd needs -r(recursive) and -f(force) options to seamlessly delete dirs with files in it.

Actions

Also available in: Atom PDF