I am running rsync2.4.6 on Solaris 2.6 (solaris) and HP-UX11 (clients).
I need to use a "template" directory on the server to set up multiple
directories on the clients. Basically, I'm trying to reset the user
directories to an initial image (this is for a training room).
The set is as follows:
- client machine name is hostXX, where XX is a 2 digit number
- user directories are under /u
- there are multiple users, with names in the format of nameXX, personXX,
etc, etc.
- the template directory lives on the server in /Master/template.
I want rsync to remove any directories in /u that are not user directories
specifically tied to that machine (ie /u/name05 is not valid on host01).
I want rsync to set all valid user directories to match the template
directory on the server. It looks like I will have to do an rsh from
the server to reset the permissions on the home directories after the
rsync has completed.
The rsync is being run on the server, inside of a for loop:
for I in 01 02 03 ...
Right now, I have created multiple templates on the server, one per
client. This takes care of the permissions problem, and ensures that the
/u directory does not contain extra files/directories. The problem is
maintaining the templates on the server becomes difficult.
Does anyone have *any* suggestions for me?
==
Matt Sabourin
Systems Engineer
Structural Dynamics Research Corp.
1555 Fairlane Dr., Suite 300Email: [EMAIL PROTECTED]
Allen Park, MI 48101
==