Family members

VBCOPY V1.1


DISCLAIMER

I or any other contributors allow you to use and modify freely under the condition that I or other contributors are in no way responsible for any damage or loss you may suffer.

WHAT'S NEW

If source date is older than the destination date then update the source file.

HISTORY

History
03/07/03V1.1 compare date (gjarvis@ieee.org)
17/06/02V1.0 Initial version (gjarvis@ieee.org)

DOCUMENTATION

VBCOPY is a REXX procedure used to copy a tree of files but calls VBACK on destination before and after copying.

For each file in source tree:

Command Line Syntax

Command Line Syntax
VBCOPY from to
VBCOPY
Parameter Description
from from path (source)
to to path (destination)
Note:
  • if no parameters the usage is printed
  • calling from another REXX script requires a CALL prefix

Examples:

call VBCOPY 'myos2' 'C:\'

/* Looks at all files in directory and sub-directory of 'myos2' relative to current path. Call VBACK for each corresponding file relative to 'C:\'. Copies the tree of files. Again calls VBACK for each corresponding file relative to 'C:\'. */