I was wondering if rsync could help with my problem. Currently I use rdist
to push master copies of files out to a pool of webservers. The problem is
that the "master" machine has several users- frequently one user is editing a
file, and another user runs the rdist. Naturally this leads to files being
pushed before they are ready.
I really don't want to delay the first user though- what I would like is a
program-- maybe rsync can help-- which can accept an "interactive" flag so
that it *prompts* the user for each file. E.g. for a off-the-cuff example,
I'd like something like
foo.html
need to update on : web1.bar.com
need to update on : web2.bar.com
need to install on: new.bar.com
install foo.html? [(i)nstall on all hosts, (s)kip, (c)hoose hosts
individually, (d)iff ]
junk.html
need to remove on: web1.bar.com
need to remove on: web2.bar.com
remove junk.html? [(r)emove on all hosts, (s)kip, (c)hoose hosts individually
]
I've scanned the web but have not had much success in finding interactive
file distribution tools.
-Troy Hanson