Re: [SOLVED] Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Mon, 6 May 2019 15:16:09 -0500 David Wright wrote: > On Mon 06 May 2019 at 10:56:47 (-0700), Patrick Bartek wrote: > > On Mon, 6 May 2019 13:08:05 -0400 Greg Wooledge > > wrote: > > > On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote: > > > > On Mon, 6 May 2019 10:24:24 -040

Re: [SOLVED] Re: Shell Script Help

2019-05-06 Thread David Wright
On Mon 06 May 2019 at 10:56:47 (-0700), Patrick Bartek wrote: > On Mon, 6 May 2019 13:08:05 -0400 Greg Wooledge wrote: > > On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote: > > > On Mon, 6 May 2019 10:24:24 -0400 Greg Wooledge > > > wrote: > > > > for dir in ab*/; do > > > >

Re: Shell Script Help

2019-05-06 Thread Dan Purgert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Greg Wooledge wrote: > [...] > You said you had twenty-something directories named ab01, ab02, etc. > So it should have matched unless you ran it from the wrong place, > or unless you lied about your directory names. > > But nobody would EVER lie abo

[SOLVED] Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Mon, 6 May 2019 13:08:05 -0400 Greg Wooledge wrote: > On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote: > > On Mon, 6 May 2019 10:24:24 -0400 > > Greg Wooledge wrote: > > > for dir in ab*/; do > > > name=${dir%/} > > > enfuse --output "$name.jpg" --compression=97 "$dir

Re: Shell Script Help

2019-05-06 Thread Greg Wooledge
On Mon, May 06, 2019 at 09:41:58AM -0700, Patrick Bartek wrote: > On Mon, 6 May 2019 10:24:24 -0400 > Greg Wooledge wrote: > > for dir in ab*/; do > > name=${dir%/} > > enfuse --output "$name.jpg" --compression=97 "$dir"/*.jpg > > done > > Typed in as a single line with a semi-colon at en

Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Mon, 6 May 2019 18:12:55 +0200 john doe wrote: > On 5/6/2019 4:24 PM, Greg Wooledge wrote: > > On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote: > >> I want a script that allows commandline only applications that can't batch > >> process to batch process. A speciifc example. I

Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Mon, 6 May 2019 10:24:24 -0400 Greg Wooledge wrote: > On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote: > > I want a script that allows commandline only applications that can't batch > > process to batch process. A speciifc example. I will use the app > > enfuse, an exposure mer

Re: Shell Script Help

2019-05-06 Thread john doe
On 5/6/2019 4:24 PM, Greg Wooledge wrote: > On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote: >> I want a script that allows commandline only applications that can't batch >> process to batch process. A speciifc example. I will use the app >> enfuse, an exposure merging program, a po

Re: Shell Script Help

2019-05-06 Thread Greg Wooledge
On Mon, May 06, 2019 at 06:57:00AM -0700, Patrick Bartek wrote: > I want a script that allows commandline only applications that can't batch > process to batch process. A speciifc example. I will use the app > enfuse, an exposure merging program, a poor man's HDR. > > patrick@Debian9:~/Work$ enfu

Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Sat, 4 May 2019 17:54:28 -0700 Will Mengarini wrote: > * Patrick Bartek [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 se

Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Sat, 4 May 2019 15:34:16 -0500 Richard Owlett wrote: > On 05/04/2019 10:08 AM, Patrick Bartek wrote: > > Hi! All, > > > > Want to create a simple, one liner to type in to automate what I've > > been doing manually: [*SNIP*] > > I think the critical question is,> *WHAT* do you wish to acco

Re: Shell Script Help

2019-05-06 Thread Patrick Bartek
On Sat, 4 May 2019 20:21:03 +0200 john doe wrote: > On 5/4/2019 5:08 PM, Patrick Bartek wrote: > > Hi! All, > > > > Want to create a simple, one liner to type in to automate what I've > > been doing manually: Perform an operation on files in unique, > > sequential directories, save the results of

Re: Shell Script Help

2019-05-04 Thread Will Mengarini
* Patrick Bartek [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

Re: Shell Script Help

2019-05-04 Thread Richard Owlett
On 05/04/2019 10:08 AM, Patrick Bartek wrote: Hi! All, Want to create a simple, one liner to type in to automate what I've been doing manually: [*SNIP*] I think the critical question is,> *WHAT* do you wish to accomplish?

Re: Shell Script Help

2019-05-04 Thread john doe
On 5/4/2019 5:08 PM, Patrick Bartek wrote: > Hi! All, > > Want to create a simple, one liner to type in to automate what I've > been doing manually: Perform an operation on files in unique, > sequential directories, save the results of the operations for each > directory with a file name of that di

Shell Script Help

2019-05-04 Thread Patrick Bartek
Hi! All, Want to create a simple, one liner to type in to automate what I've been doing manually: Perform an operation on files in unique, sequential directories, save the results of the operations for each directory with a file name of that directory in the directory the target directories reside