  
 | 
  
  85025 packages online
 | 
 
 
 | 
  | 
 
 | 
util/batch/Randomcopy0_91.lha | 
 | 
 
| 
  No screenshot available
 | 
  |  
Now version .91
Given a pattern, will select one random file and copy it to the specified
file.
Originally  written  with  random  wbpatterns in mind.  Could be other
uses, such as fortune cookies or quotes.  Maybe a slideshow?
Suggested usage would be go like this:
randomcopy FROM prefs:presets/patterns/~(#?.info) TO env:sys/wbpattern.prefs
 When  executed  in  your  startup-sequence, a random pattern would be
selected for the workbench.  This could also be a palette, pointer, or
set of fonts.
Update includes support for
   CLONE  Copies comment, date, and protection bits.
   BUFFER Sets size of copy buffer.
  MINWAIT \
  MAXWAIT  Ability to wait definable times between copies.
LONGBREAK  /
 USETICKS /
Also, ReadArgs has been utilized for more reliable argument parsing.
A  minor  update to fix a random seed problem.  A seed can be saved to
the  S:   directory  by  specifing  a "RNDFILE" keyword on the command
line.   This  is  to  get  a  better  random-ness  to users without an
internal clock.
  |  
  Contents of util/batch/Randomcopy0_91.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  540     993  54.4% -lh5- f322 Nov 21  1994 RandomCopy.info
[generic]                 3411    7489  45.5% -lh5- 8939 Nov 21  1994 RandomCopy/randomcopy.doc
[generic]                  697    1158  60.2% -lh5- 2375 Nov 21  1994 RandomCopy/Randomcopy.readme
[generic]                 2956    5464  54.1% -lh5- 2670 Nov 21  1994 RandomCopy/rc
[generic]                 2816    7536  37.4% -lh5- 1be5 Nov 21  1994 RandomCopy/rc.e
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files   10420   22640  46.0%            Nov 28  1994
  |   
 |  
  | 
  | 
| Page generated in 0.01 seconds | 
Aminet © 1992-2024 Urban 
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |