Freshly delivered FOSS screencasts - every Friday.

1 Screencasts tagged with expect

#11 Scripting SCP with Expect

Expect is a great automation tool. It is especially good at scripting SCP, FTP, and other interactive programs.

In this episode we'll create a bash script using expect to automatically SCP a log file from a server. The script could be easily extended as a cron job and modified for other uses.

Uploaded on Nov 13, 2009 | 4:27 | Tags: expect ftp scp