Short:    BEST wildcards for commands + Listing utility V1.3
Author:   rodrigue@iles.siera.ups-tlse.fr (Frédéric RODRIGUES)
Uploader: rodrigue@iles.siera.ups-tlse.fr (Frédéric RODRIGUES)
Type:     util/dir
Replaces: util/cli/All*
Requires: kickstart 2.0+

All 1.3 (9-4-97) © Frédéric RODRIGUES
Give wildcards and multiple arguments to commands + Listing utility

SUMMARY
~~~~~~~
OVERVIEW
WHAT IT IS
SYNOPSYS
OPTIONS
COMMAND OPTION
USAGE
TYPES
CTRL-C BREAK HANDLING
ALL AND ADDBUFFERS
*=#?
WHAT YOU HAVE ON THE REGISTERED VERSION
LEGAL STUFF
HOW TO REACH ME ?

OVERVIEW
~~~~~~~~
Have you ever dreamed :
- to do (like PC's): 1> rename *.bak *.tmp (with your AmigaDos Rename) ?
- to execute commands on files you choose in just one command ?
- to select files whose size is beetween a range ?
- to view the type of the files you list ?
- to execute a particular command on particular files (ex: 1> showiff * type
ILBM) ?
- to give the ability to all your commands to handle wildcards and multiple
arguments ?

WHAT IT IS
~~~~~~~~~~
All is a Listing utility like AmigaDos List command (better than the last).
All is also a ForEach utility like unix for (better too).
All exists in two versions : freeware and shareware (just 5 boxes).

SYNOPSYS
~~~~~~~~
All <files> [COM] [command string] [SIZEMIN] [number] [SIZEMAX] [number]
[DATEMIN] [datemin] [DATEMAX] [datemax] [TYPEPATTERN] [type pattern of files]
[DO] [ALL]
(see : 1> All ?)

OPTIONS
~~~~~~~
FILES/M/A - an infinite number of files and wildcards
  ex: *.doc *.?ak myfile this.#? th[a-z]t *[a|b|c|%]d
COM=COMMAND/K - give the command string with the % parts you want to apply
on some files; works also as a switch : if you don't specify it you will
access to the list function else the execute function
  ex: com "rename %a %pfile%e"
SIZEMIN/N/K - give the minimum size the files must have
SIZEMAX/N/K - give the maximum size the files must have
DATEMIN/K - give the minimum date the files must be
DATEMAX/K - give the maximum date the files must be
TYPE=TYPEPATTERN/N/K - give the type pattern the files must be (very
usefull : with this you can choose the types of files)
  ex: type 8SVX|ILBM|ANIM, type XPK#?
DO/S - execute the command string (see COMMAND)
ALL/S - recursive mode on directories

COMMAND OPTION
~~~~~~~~~~~~~~
It's the most important part.

% parts:
- %a - the filename with path (ex: ram:env/sys/input.prefs)
- %f - only the filename (ex: input.prefs)
- %v - the volume (ex: ram:)
- %p - only the path (ex: env/sys/)
- %m - the main part (ex: input)
- %e - the extension part (ex: .prefs)

USAGE
~~~~~
Examples of usage :

1> All RAM:env/* COMMAND "Copy %a DF0:tmp/%p%m.tmp*nDelete %a"
$VER: All 1.3 (9-4-97) © Frédéric RODRIGUES - registered
Give wildcards and multiple arguments to commands + Listing utility

Copy RAM:env/All.prefs DF0:tmp/env/All.tmp
Delete RAM:env/All.prefs
Copy RAM:env/xData.prefs DF0:tmp/env/xData.tmp
Delete RAM:env/xData.prefs

1> All RAM:* COM "Delete %a" DO
$VER: All 1.3 (9-4-97) © Frédéric RODRIGUES - registered
Give wildcards and multiple arguments to commands + Listing utility

RAM:All.doc  Deleted
RAM:All.e  Deleted
RAM:All.prefs  Deleted
RAM:AllAddType  Deleted
RAM:AllAddType.e  Deleted
RAM:AllGetType.e  Deleted
RAM:AllMakePrefs  Deleted

1> All RAM: ALL
$VER: All 1.3 (9-4-97) © Frédéric RODRIGUES - registered
Give wildcards and multiple arguments to commands + Listing utility

RAM:type.8SVX                    8SVX          20 ---rwed Today     23:37:07
comment: sound data
RAM:type.AMOS                    AMOS          20 ---rwed Today     23:37:51 
amos program
RAM:type.exe                     OS EXE        20 ---rwed Today     22:38:59 
RAM:type.ILBM                    ILBM          20 ---rwed Today     22:38:59 
picture
RAM:type.info                    OS INFO       20 ---rwed Today     22:38:59 
RAM:type.lha                     LHA LH5       20 ---rwed Today     22:38:59 
RAM:type.mod                     PT-ST         20 ---rwed Today     22:38:59 
RAM:type.PP20                    PP DATA       20 ---rwed Today     22:38:59 
RAM:type.xpk                     XPK NUKE      20 ---rwed Today     23:36:27 
RAM:type.epu2                    EPU          850 ---rwed Tomorrow  00:37:07 
RAM:env/sys/printer.prefs        PREF          98 ---rwed Today     22:32:02 
RAM:env/sys/input.prefs          PREF          78 ---rwed Today     22:32:02 
RAM:env/sys/icontrol.prefs       PREF          62 ---rwed Today     22:32:02 
RAM:env/sys/keyboard             UNKNOWN        2 ---rwed Today     22:32:02 
RAM:env/sys/wbconfig.prefs       PREF          54 ---rwed Today     22:32:02 
RAM:env/sys/printergfx.prefs     PREF          72 ---rwed Today     22:32:02 
16 files - 1396 bytes listed - 0 bytes free

1> All RAM: ALL TYPEPATTERN EPU|PREF
$VER: All 1.3 (9-4-97) © Frédéric RODRIGUES - registered
Give wildcards and multiple arguments to commands + Listing utility

RAM:type.epu2                    EPU          850 ---rwed Tomorrow  00:37:07 
RAM:env/sys/printer.prefs        PREF          98 ---rwed Today     22:32:02 
RAM:env/sys/input.prefs          PREF          78 ---rwed Today     22:32:02 
RAM:env/sys/icontrol.prefs       PREF          62 ---rwed Today     22:32:02 
RAM:env/sys/wbconfig.prefs       PREF          54 ---rwed Today     22:32:02 
RAM:env/sys/printergfx.prefs     PREF          72 ---rwed Today     22:32:02 
6 files - 1214 bytes listed - 0 bytes free

1> All DF0:* RAM:s/*
$VER: All 1.3 (9-4-97) © Frédéric RODRIGUES - registered
Give wildcards and multiple arguments to commands + Listing utility

DF0:DirectoryOpus.CLA            UNKNOWN     2513 ---rw-d 01-Jul-94 16:59:28
DF0:installer                    UNKNOWN      265 s--rw-d 05-Mar-97 22:36:29
DF0:sauver                       UNKNOWN       43 s--rw-d 05-Mar-97 23:35:29
3 files - 2821 bytes listed - 7680 bytes free

RAM:s/move                       UNKNOWN      143 s--rwed Today     01:01:13
RAM:s/mount                      UNKNOWN       54 s--rwed Today     01:01:13
2 files - 197 bytes listed - 0 bytes free

TYPES
~~~~~
All works with a preferences file where to place the type recognition. I
made this because I would give the possibility to add your own types or the
new types you'll discover. You do this with the AllAddType command but just
the registered users have it. So register if you want to have all options.

At the moment you have the following types :

- XPK MASH
- XPK RAKE
- XPK RDCN
- XPK RLEN
- XPK SMPL
- XPK SQSH
- XPK CYB2
- XPK NUKE
- XPK SHRI
- XPK DLTA
- XPK DUKE
- XPK ENCO
- XPK FAST
- XPK FEAL
- XPK IDEA
- XPK Data (the others)
- GIF
- PowerPacked DATA
- AMOS program
- AMOS bank
- AMOS sprite
- AmigaOS Executable
- AmigaOS info file
- AmigaOS font file
- AmigaOS compugraphic font file
- AmigaOS postscript font file
- AmigaOS .metric file
- AmigaOS 1.2 .info file
- epu
- ProTracker-SoundTracker
- Octamed0
- Octamed1
- Bootblock.brainfile
- PC Executable
- Amigaguide
- 8SVX (sampled sound)
- ILBM (picture format)
- PREF
- ANIM
- ARC file
- MPEG
- Unix GZIP
- Pagestream document
- PCX (picture format)
- PKZIP
- Sonix song
- Prowrite document
- Imagine object
- Imagine picture
- GPFax file
- Flow outline
- FinalCopy document
- Cando variable
- Cando deck
- FORM (the others)
- LHA LH0
- LHA LH4
- LHA LH5
- LZ
- Maxiplan document
- Page Setter document

But you can have more (the unregistered user) : if you mail me 3 files by
type I will add it in the prefs file on a new version for free !

CTRL-C BREAK HANDLING
~~~~~~~~~~~~~~~~~~~~~
You can stop All by pressing CTRL-C. If the command in the command string
(see COMMAND option) accept a CTRL-C to break, you break this first. Another
CTRL-C will break All. So be prepared to press several times the CTRL-C to
stop the whole.

ALL AND ADDBUFFERS
~~~~~~~~~~~~~~~~~~
You can speed up the listing by using :
1> Addbuffers df0: 50 (for example)
You can have a lot more speed if you don't use type recognition.
Try:
1> All DF0: ALL COM "%a"

*=#?
~~~~
Sorry but I removed the built-in *=#? because it's better programming. In
fact kickstart 2.0 permits to do that. So now I include the StarClick
utility by Chris Hames.

WHAT YOU HAVE ON THE REGISTERED VERSION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- the registered version is much faster
- you have AllAddType command : to add new types on the prefs file
- you have the TYPEPATTERN option working
- you have all % parts working

LEGAL STUFF
~~~~~~~~~~~
All is freeware. You can get the registered version by sending me 5$
(american) cash and your email address. If you don't have an email address,
add 2$ and I will send it by mail on a floppy. You can send me your local
money after conversion from american dollars and you can use the money order
at your convenience.

You can distribute the package but don't modify it (in any form).

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

HOW TO REACH ME ?
~~~~~~~~~~~~~~~~~
by email : rodrigue@iles.siera.ups-tlse.fr (IP 130.120.84.50)
by mail : Frédéric RODRIGUES
          4 allées Antonio Machado app 3009D
          31100 Toulouse
          FRANCE

Send me bugs, reports, preferences, registration, hellos ...


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    5576    2645 52.5% 05-Mar-97 23:15:46  All
    9241    3365 63.5% 09-Apr-97 05:34:06  All.doc
    1097     575 47.5% 09-Apr-97 05:17:22  All.prefs
     200     149 25.5% 09-Apr-97 05:41:28  AllInstall
    1824    1132 37.9% 02-May-93 20:40:18  StarClick
    1757     832 52.6% 02-May-93 20:40:18  StarClick.doc
     716     271 62.1% 02-May-93 20:40:26  StarClick.info
-------- ------- ----- --------- --------
   20411    8969 56.0% 12-May-97 21:35:14   7 files
