Ubuntu Manpages

Delete directory.

delete-dir <directory> [ status <status> ]

delete-dir will delete <directory>, which is a string that may be an absolute or relative path.

If "status" clause is used, then number <status> is GG_OKAY if succeeded, GG_ERR_EXIST if directory is not empty, or GG_ERR_FAILED for other errors (in which case you can use "errno" clause in get-req to find the specific reason why).

delete-dir "/home/user/some_dir"


Directories

change-dir change-mode delete-dir directories new-dir See all documentation