onyo rmdir
Delete DIRECTORYs or convert Asset Directories into Asset Files.
If the DIRECTORY is not empty, does not exist, the path is protected, or the asset is already an Asset File, then Onyo will error and leave everything unmodified.
usage: onyo rmdir [-h] [-m MESSAGE] [--no-auto-message] PATH [PATH ...]
Positional Arguments
- PATH
Directories to delete; or Asset Directories to convert into Asset Files.
Named Arguments
- -m, --message
Append MESSAGE to the commit message. If multiple
--messageoptions are given, their values are concatenated as separate paragraphs.- --no-auto-message
Do not auto-generate the commit message subject. If no MESSAGE is given, the subject line will be
[Empty subject]. This does not disable the inventory operations record at the end of a commit message. The default is configured via ‘onyo.commit.auto-message’.Default:
False
Examples
Remove a user from a group:
$ onyo rmdir accounting/Bingo\ Bob/
Convert an empty Asset Directory into an Asset File:
$ onyo rmdir accounting/Bingo\ Bob/laptop_apple_macbook.oiw629/