Re: Shell Script Help
On Sat, 4 May 2019 15:34:16 -0500
Richard Owlett <rowlett@cloud85.net> 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 accomplish?
Perhaps you're right. I was too general in my initial query which made
it very unclear.
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$ enfuse --output ab01.jpg --compression=97 ab01/DSC*.jpg
patrick@Debian9:~/Work$ enfuse --output ab02.jpg --compression=97 ab02/DSC*.jpg
:
:
patrick@Debian9:~/Work$ enfuse --output ab26.jpg --compression=97 ab26/DSC*.jpg
I use shell history to repeat the command for each directory, changing the
--output filename and target directory numbers as necessary. Each diretory already
holds the appropriate image files.
Thanks
B
Reply to: