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

Re: Speedy directory generation



From: Klaus Wacker <wacker@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Speedy directory generation
Date: Fri, 21 Oct 2005 16:57:08 +0200

Hi,
 
 thanks a lot.

 This permutation I didn't try... :)

 have a nice weekend!
 mcc

> On Fri, Oct 21, 2005 at 04:48:33PM +0200, Meino Christian Cramer wrote:
> > 
> > Hi,
> > 
> >  I want to mkdir directories named 001,002,003,004....100.
> > 
> >  Is there a quick hack with zsh to do so? I tried ranges
> >  "<001-100>" and such but failed.
> > 
> 
> {001..100} should work. It just generates to the range of numbers.
> <001-100> matches existing files in that range.
> 
> Klaus
> 
> -- 
> 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