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)
By subscribing to our early morning news update, you will receive a daily digest of the latest security news published on Help Net Security.
With over 500 issues so far, reading our newsletter every Monday morning will keep you up-to-date with security risks out there.