WSUPDATE
Update a file on multiple drives and subdirectories.
Synopsis
WSUPDATE [source_path [drive_letter: |
volume_name:] [path\filename]
[/option ... ]] | [/? | /VER]
Description
Use WSUPDATE at a workstation to update a file on multiple
drives and subdirectories.
Options
- source_path
-
Specify the path of the file you are updating from, including the
filename. You cannot use wildcard characters.
- drive_letter
-
Specify a directory to search for outdated files. To search all mapped
drives, use the /ALL option. To search all local drives, use
the /Local option.
- volume_name
-
Specify an NDS volume object. To search an NDS volume
for outdated files, enter the full volume object name relative to your
current context.
To search all mapped drives, use the /ALL option. To search all
local drives, use the /Local option.
- path\filename
-
Specify a path, including the filename, so the search does not begin at
the root.
- /option
-
Specify one or more options from the following:
- /ALL
-
Search all mapped drives. You cannot specify a drive or volume with this
option.
- /C
-
Copy the new file over the old one, with no backup.
- /CON
-
Continuously scroll the output.
- /E
-
Erase the existing log file. Use with the /L option.
- /F=[path\file]
-
Specify a file where the commands to update the workstation are stored.
(Other options are ignored.)
- /LOCAL
-
Search all local drives. You cannot specify a drive or volume with this
option.
- /L=[path\file]
-
Specify the location and filename of a log file where WSUPDATE
can store information. (Erase the log file using /E or a DOS
DEL command.)
- /P
-
Get a prompt asking you whether to proceed. If there are no files to be
updated, this option allows you to stop the session before it begins.
- /O
-
Update all files, even those flagged ``Read Only''.
- /R
-
Rename the old file with an .OLD extension before copying the
new file. (Use if you update a file but want to keep a copy of the old
one.)
- /S
-
Specify a search for outdated files in all subdirectories of the
destination path.
- /?
-
View online help. (Other parameters are ignored.)
- /VER
-
View the version number of the utility and the files it uses to execute.
(Other parameters are ignored.)
Usage
WSUPDATE compares the date and time of the source and
destination files. If the source file is more current, WSUPDATE
updates the destination file.
WSUPDATE can be run from a batch file. In that case, you may
want to use options such as File (F) and Proceed (P).
Examples
-
To search all mapped drives and copy over old files, type:
WSUPDATE VOL:SYSTEM\NET5.COM /ALL /C
-
To search local drives and rename the old file, type:
WSUPDATE VOL:SYSTEM\NET5.COM /LOCAL /R
-
To specify file location, type:
WSUPDATE /F=C:\NET3.COM
© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999