Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: listing/deleting empty directories recursively
- X-seq: zsh-users 9692
- From: Christian Taylor <cht@xxxxxxxxx>
- To: "zsh-users" <zsh-users@xxxxxxxxxx>
- Subject: Re: listing/deleting empty directories recursively
- Date: Sat, 19 Nov 2005 10:57:25 +0100
- In-reply-to: <tfrtn1dt9nf26m1rka6b9kg3bmcoa2evs4@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <tfrtn1dt9nf26m1rka6b9kg3bmcoa2evs4@xxxxxxx>
> 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