Web lists-archives.com

Re: Shell Script Help




On Sat, 4 May 2019 17:54:28 -0700
Will Mengarini <seldon@xxxxxxxxxx> wrote:

> * Patrick Bartek <patrick.bartek@xxxxxxxxx> [19-05/04=Sa 08:08 -0700]:
> > [...] Perform an operation on files in unique, sequential
> > directories [...] never more than 99 -- usually a lot
> > less.  The actual number will vary job to job.  [...]  
> 
> If the sequentially-numbered directories already exist:
>   `man find`
> Else:
>   for ((i=1;i<12;++i));{ printf frob%02d\\n $i;} # tested: Bash 3 & 4
> 
> [snip]

Thanks.  That helpts.

B