Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: listing/deleting empty directories recursively



> ls -ld *(/^F)
>
> Will list any empty directories, but only for one level of subdirectories,
> how to make it delete empty directories at any level.

ls -ld **/*(/^F)
(will list empty directories at any level in the current working directory)

Christian



Messages sorted by: Reverse Date, Date, Thread, Author