On 14 February 2012 22:06, Jim Meyering <[email protected]> wrote: > I suggest you use find. > This does what you want, at least with GNU find: > > find a -depth -type d -empty -delete
Wow, the wonders of find. I've set this up as a shell function 'rmd'. Many thanks for your suggestions.
