Short: copy one file to x-others Author: megacz(megacz@usa.com) Uploader: megacz(megacz usa com) Type: util/rexx Version: 0.00 Requires: 68000+/os2.04+ Architecture: generic Distribution: Aminet hello, again! This time i made a script that is capable of picking one source and clone in to x-others, this is mainly useful when dealing with mui .prefs files. For instance, u have just finished confi- guring the gui for lets say AmIRC.1 and want it for .2,.3,.4,.. so u need to copy it by the hand and change the numbers... This is so boring! So thats why 'ftx' has been made. template: ftx [copies] [start] example: " 31.[local]RamDisk:> ftx env:mui/AmIRC.1.prefs env:mui/AmIRC.%.prefs 9 2 copies set to: 9, starts at: 2 loading file into memory... got 4740 of 4740, 1 arexx cells(65535), 0.04 secs. writing to: env:mui/AmIRC.2.prefs, env:mui/AmIRC.3.prefs, env:mui/AmIRC.4.prefs, env:mui/AmIRC.5.prefs, env:mui/AmIRC.6.prefs, env:mui/AmIRC.7.prefs, env:mui/AmIRC.8.prefs, env:mui/AmIRC.9.prefs, env:mui/AmIRC.10.prefs, done in 0.12 secs. 31.[local]RamDisk:> " As u can see it had made 9 entries starting from 2 in 0.16(0.04+0.12) secs! Try to be faster, with copy and rename =D. Of course things change a lot when u need 1000+ files to be created, but who da hell needs such a bunch of shit in 'env:mui/' ? NOTE : script doesnt check if the input file and output path exists, so dont be suprised when it will show an error when in and out r improper. Also do not use paths with spaces it will not work! NOTE2: u can use 'ftx' like a 'copy' command too, just dont specify '%' anywhere in the output and do not set -copies- and -start-. cu! F-t(o)-X(ARexx) by megacz2k6(megacz@usa.com)