Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #208281

Re: Shell Script Help

From Patrick Bartek <patrick.bartek@gmail.com>
Newsgroups linux.debian.user
Subject Re: Shell Script Help
Date 2019-05-06 16:20 +0200
Message-ID <xUMDf-7jv-7@gated-at.bofh.it> (permalink)
References <xU4LT-5qI-3@gated-at.bofh.it> <xUdPb-2vo-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

> * Patrick Bartek <patrick.bartek@gmail.com> [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

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Shell Script Help Patrick Bartek <patrick.bartek@gmail.com> - 2019-05-04 17:30 +0200
  Re: Shell Script Help john doe <johndoe65534@mail.com> - 2019-05-04 20:30 +0200
    Re: Shell Script Help Patrick Bartek <nemommxiv@gmail.com> - 2019-05-06 16:10 +0200
  Re: Shell Script Help Richard Owlett <rowlett@cloud85.net> - 2019-05-04 22:40 +0200
    Re: Shell Script Help Patrick Bartek <patrick.bartek@gmail.com> - 2019-05-06 16:20 +0200
      Re: Shell Script Help Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-06 16:30 +0200
        Re: Shell Script Help john doe <johndoe65534@mail.com> - 2019-05-06 18:20 +0200
          Re: Shell Script Help Patrick Bartek <nemommxiv@gmail.com> - 2019-05-06 19:00 +0200
        Re: Shell Script Help Patrick Bartek <nemommxiv@gmail.com> - 2019-05-06 18:50 +0200
          Re: Shell Script Help Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-06 19:10 +0200
            [SOLVED] Re: Shell Script Help Patrick Bartek <nemommxiv@gmail.com> - 2019-05-06 20:00 +0200
              Re: [SOLVED] Re: Shell Script Help David Wright <deblis@lionunicorn.co.uk> - 2019-05-06 22:20 +0200
                Re: [SOLVED] Re: Shell Script Help Patrick Bartek <nemommxiv@gmail.com> - 2019-05-07 03:30 +0200
            Re: Shell Script Help Dan Purgert <dan@djph.net> - 2019-05-06 20:10 +0200
  Re: Shell Script Help Will Mengarini <seldon@eskimo.com> - 2019-05-05 03:10 +0200
    Re: Shell Script Help Patrick Bartek <patrick.bartek@gmail.com> - 2019-05-06 16:20 +0200

csiph-web