home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
ALIASMOV.ZIP
/
ALIASMOV.DOC
< prev
Wrap
Text File
|
1992-05-11
|
2KB
|
60 lines
AliasMov.cmd
------------
The alias concept in LAN Server provides a powerful capability to hide server
dependencies. The ability to move shared data from server to server without
having to make changes at the user end is wonderful. The only problem is
using the FSI (grey screen) to change the alias definition to point to the
new location. (If you have ever done this on a large scale, you know what I
mean!)
This utility simplifies the movement of shared data resources. You simply
tell it what alias you want to move and the destination and it changes the
alias, sets the access control profile, and moves the data.
The algorithim is this:
1. Retrieve information on the existing alias.
2. Delete the existing alias.
3. Define the new alias with information from the old definition.
4. Copy the access control profile from the root of the original alias
location to the root of the new alias location.
5. Copy the data.
The access control profile will migrate down to subdirectories as they are
created.
------------------------------------------------------------------------------
USAGE:
To move the alias TEST to SERVER20 c:\shared\test use the following command"
aliasmov test \\server20\c$\shared\test
------------------------------------------------------------------------------
NOTES:
Only the root access control profile (ACP) is copied. If different ACP's exist
in subdirectories, they will be lost.
If sub-aliases exists (i.e. alias2 is defined as a subdirectory under alias1),
then move the upper level alias first, then the lower level alias.
Obviously, don't move aliases when users are accessing data.
Drives S: and T: are used for the data copy.
------------------------------------------------------------------------------
PLANNED ENHANCEMENTS:
Check lower level ACP's for differences and make changes at lower levels.
Convert to use NET COPY. (Current problem is that NET COPY will not copy
subdirectories, so this processing would be manual.)
Error checking on the destination UNC name.
------------------------------------------------------------------------------
If you have suggestions on enhancements, please contact me at:
Jim Sauber
400 N Robert St
St Paul, MN 55101
- or -
The OS/2 Shareware BBS
703-385-4325
User Name: Jim Sauber