SLUG Mailing List Archives
RE: [SLUG] scripting help.
- To: slug@xxxxxxxxxxx
- Subject: RE: [SLUG] scripting help.
- From: Jill Rowling <Rowling@xxxxxxxxxx>
- Date: Mon Nov 13 11:31:48 2000
> -----Original Message-----
> From: DaZZa [mailto:dazza@xxxxxxxxxx]
> I need a script which will basically run through a directory,
> and copy all
> files which start with the same letter of the alphabet to a
This might get you started (sorry 'bout the FORTRAN-like variables):
$ for i in a b c d e ; do
> for j in "$i""*" ; do
> echo $j
Jill Rowling, Snr Des. Eng. & Unix System Administrator
Elec. Eng. Dept, Aristocrat Technologies Australia
3rd Floor, 77 Dunning Ave Rosebery NSW 2018
Phone: (02) 9697-4484 Fax: (02) 9663-1412 Email: rowling@xxxxxxxxxx
This email is intended only to be read or used by the addressee.
The information contained in this e-mail message may be confidential
information. If you are not the intended recipient, any use, interference
with, distribution, disclosure or copying of this material is unauthorised
and prohibited. Confidentiality attached to this communication is not waived
or lost by reason of the mistaken delivery to you.
If you have received this message in error, please delete it and notify us
by return e-mail or telephone Aristocrat Technologies Australia Pty Limited
on +61 2 9413 6300.