Short: Generates random file names Author: carls@kajen.com (Carl Svensson) Uploader: carls kajen com (Carl Svensson) Type: util/misc Version: 0.9 Requires: ARexx Architecture: m68k-amigaos Random File Name Generator ========================== İ 2001 Carl Svensson What's this? ŻŻŻŻŻŻŻŻŻŻŻŻ A random file name generator. It generates a pseudo-unique file name consisting of the letter a-z. Contents of this distribution ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ randFileName.readme -- This file randFileName.rx -- The actual script How do I use it? ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ It's an ARexx script. I'll give you an example on how to call it from the command line: 1.Work:Data/rexx/> rx randFileName.rx 12 alamaba.gif .gif This will rename the file alabama.gif to, for example, "kjjjoqejgjho.gif". The command line arguments are len, file and suffix LEN -- Length of the new file name excluding suffix For example, if you replace "12" with "6" in the example above, you'll get a 6 + 4-letter name (i e "abcdef.gif") FILE -- File to rename If the file name specified doesn't exist, randFileName will just print the new name instead of renaming the file. SUFFIX -- The dot-extension This adds a dot-extension to the file name. Can be specified with or without the period sign. If the period sign isn't included, randFileName will add it. If no suffix is specified, the suffix .rnd will automatically be addedd to the file name. Legal stuff ŻŻŻŻŻŻŻŻŻŻŻ This program is freely distributable as long as I'm credited in the header comment of the source code. However, if included in a commercial package or on a magazine coverdisk, I'd like to be informed about this, and I'd appreciate a small donation (for example a copy of the magazine/product where it's included). I am NOT responsible for any of the problems this script may cause. I offer NO warranty and I cannot guarantee that it'll work on your computer. It has been tested on my Amiga1200 running AmigaOS 3.0 on a 68040 CPU, but I guess it should work on any Amiga with ARexx installed. The Author ŻŻŻŻŻŻŻŻŻŻ Contact me (Carl Svensson) by email: carls@kajen.com or visit my homepage, http://carls.1av10.nu/ for further information. That's it ŻŻŻŻŻŻŻŻŻ Hope you find it useless enough :-)