Automating rsync with a simple expect script
Expect is a great tool in a system administrators arsenal and can be used to easily automate tasks that require periodic user input. This can allow the administrator to make better use of their time than watching the application or utility to spot the next time it requires input.
This short article provides an example script that uses Expect to automate a series of rsync operations using an ssh tunnel.
[ Read more ]
- Review: Secure Shell in the Enterprise (20 August 2003)