Shell script help needed

Alexander Short Alexander.Short-V7Ve2fXh0sTQT0dZR+AlfA at public.gmane.org
Sun Sep 4 01:39:23 UTC 2011


Dir /b > file.txt
Open in excel
Use concatenate formula then fill down

Copy and paste into nix. No scripting req'd

--

Alexander Short
Associate Director, IT Operations

Iovate Health Sciences Inc.
381 North Service Road West
Oakville, ON L6M 0H4
www.iovate.com
E-mail: alexander.short at iovate.com
Phone: 905.678.4024
Toll-Free: 1.888.334.4448 x 4024
Cell: 416.317.9924

CONFIDENTIALITY NOTICE:
This electronic transmission and any attachments hereto are intended for the 
confidential use of the individual or entity to which it is addressed and may 
contain confidential information belonging to Iovate. You are hereby notified 
that any disclosure, copying, distribution or the taking of any action, based on 
the contents of this electronic transmission and without Iovate’s express 
authorization, is strictly prohibited. If you have reason to believe that you 
have received this transmission in error, please notify immediately by return 
e-mail and delete and destroy this communication.

[Sent from a BlackBerry Wireless Device]

----- Original Message -----
From: phiscock at ee.ryerson.ca [mailto:phiscock at ee.ryerson.ca]
Sent: Saturday, September 03, 2011 09:36 PM
To: tlug at ss.org <tlug at ss.org>
Subject: [TLUG]: Shell script help needed

Folks -

I have a mass of files with names like crw_0858.tiff that I need to
convert to black an white using the following command line.

convert crw_0858.tiff -colorspace Gray output_0858.tiff
convert crw_0859.tiff -colorspace Gray output_0859.tiff

etc

This is beyond my shell-scripting capabilities. Can anyone suggest a
simple shell script that can do this?

Error checking is not required since I'm the only one to run this thing,
and I do it manually.

Thanks in advance...

Peter

-- 
Peter Hiscocks
Syscomp Electronic Design Limited, Toronto
http://www.syscompdesign.com
USB Oscilloscope and Waveform Generator
647-839-0325

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists


More information about the Legacy mailing list