Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Maildir empty?
- X-seq: zsh-users 7687
- From: Klaus Wacker <wacker@xxxxxxxxxxxxxxxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: Re: Maildir empty?
- Date: Mon, 12 Jul 2004 16:17:20 +0200
- In-reply-to: <200407121000.i6CA0YIW002804@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040712073705.GN2860@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <200407121000.i6CA0YIW002804@xxxxxxxxxxxxxx>
- Reply-to: wacker@xxxxxxxxxxxxxxxxxxxxxx
On Mon, Jul 12, 2004 at 11:00:34AM +0100, Peter Stephenson wrote:
> Klaus Wacker wrote:
> > Dear zsh, is there a zsh-internal way to find out whether a maildir is
> > empty? Or more generally, whether a directory tree contains no
> > files?
>
> This will be fixed in 4.2.1 with the syntax `*(/^F)'. (F) (for full)
> indicates a directory with files. (^F) indcates either not a directory
> or no files. (/^F) indicates a directory with no files.
Will this work recursively for subdirectories? A maildir directory is
never empty, it always contains 3 subdirectories. What I need to find
out is whether all those are empty.
--
Klaus Wacker wacker@xxxxxxxxxxxxxxxxxxxxxx
Experimentelle Physik V http://www.physik.uni-dortmund.de/~wacker
Universitaet Dortmund Tel.: +49 231 755 3587
D-44221 Dortmund Fax: +49 231 755 4547
Messages sorted by:
Reverse Date,
Date,
Thread,
Author