[hfs-user] delete not-empty directories
Mon, 11 Mar 2002 14:54:34 -0800
On Monday, March 11, 2002, at 01:24 PM, Wolf Drechsel wrote:
> this sounds easy - but I didnt find something about it in the docs:
> How do I delete a not-empty directory in a mounted hfs volume?
> hdel -r seems not to be working...
You need to delete the contents first using hdel and/or hrmdir, then you
can hrmdir the directory. Wildcards may help, e.g.
% hdel ':dir:*'
% hrmdir :dir
It is an unfortunate oversight that hdel does not have a recursive
option. You can, however, use xhfs to delete most directories