14.4. rmdir
¶
This task deletes directories on the device. This task is slightly faster than the delete task since it does not need to make a query to determine what to delete.
Use nested dir
elements to delete multiple unrelated directories. All directories will be deleted as part of a single SOMA request to the device.
14.4.1. Attributes/Options¶
Name | Description | Required |
---|---|---|
dir | A directory or a path on the device. Could include a filesystem which is defined using ‘filesystem:/’ syntax. If not provided, the filesystem will default to |
Yes |
failOnError | Fail if the directory doesn’t exist. Defaults to |
No |
14.4.2. dir
Nested Element¶
Name | Description | Required |
---|---|---|
path | A directory or a path. Could include a filesystem which is defined using |
Yes |
14.4.3. Examples¶
dpbuddy rmdir -dir="/dir1/dir2" -failOnError false
<dp:rmdir dir="/dir1/dir2" failOnError="false"/>