DoLittle 1.30  2007 Herbert zur Nedden, Freeware


Purpose:
--------

Simply put DoLittle is a recurse version of *Repeat:

DoLittle scans through the given directory and all subdirectores and calls
the command passed to it for each object (file/directory) found with the path,
name and type as parameter.



Installation:
-------------

I recommend that you copy the DoLittle absolute into !Boot.Library so tht
you can call it without the need to specify a path.

DoLittle is written in C and thus needs the 32 bit Shared C Libary.



Invocation:
-----------

Run [Path].DoLittle [Directory] [Command] [Options]


   [Path]        The path to DoLittle; if DoLittle is in the Library,
                 you don't need to specify the path.

   [Directory]   The direcotry into which DoLittle shall dive.

   [Command]     This is the command which will be called via OS_CLI
                 for each object found.
                 In case of commands containing spaces, you have to
                 enclose the command in "...".

                 The command will be called with these parameters
                 1. The full name (path.name) of the object.
                 2. The path to the object
                 3. The name of the object
                 4. The file type of the object (e.g. fff for text files),
                    if it is a file, otherwise some value prefixed with a
                    star like: *Directory, *Load/Execute, ...

   [Options]     By default DoLittle will look into everything it can, but
                 by specifying options you can change this:    
                 -a do not look inside applications,
                 -A do     look inside applications (default),
                    An application is a directory containing a !Run file, that
                    is a '!' at the beginning of the name is not important.
                 -i do not look inside image files,
                 -I do     look inside image files (default)
                 -s full output (default)
                 -S short output (just command and path)
                 -q not quiet (default)
                 -Q quiet (don't tell own version)
                 -p execute command (default)
                 -P just print data

DoLittle will recursively go down inside the given directory ... and call
the command for each found object and depending on the options set it
will look inside applications and/or image files, or not.



Example:
--------

Run DoLittle !Boot.Resources.!System "Echo I can see" -i -A

With this !Boot.Resources.!System will be scanned and image files (e.g.
archives) will not be looked into, but it will dive into applications.
For each object (file or directory) the following command will be called:
"Echo I can seee [path].[name] [path] [name] [type]".



Homepage:
---------

http://www.gag.de/software/DoLittle



History:
--------

1.30   Correction of the directory scan code dated 11.11.2007
1.20   Some enhancements and fixes dated 5.10.2007
1.01   Slightly enhanced version dated 4.7.2003
1.00   Initial Version dated 3.7.2003
