M
Minh
Hi,
I am newbie to expect.
Please let me know how to include the unix command below in expect script.
I want to remove all files in /tmp/temp-dir/ after ftp is completed.
/usr/bin/rm /tmp/temp-dir/*
This script is not working
#!/usr/local/bin/expect -f
spawn /usr/bin/rm /tmp/temp-dir/\*
Thanks
Minh
I am newbie to expect.
Please let me know how to include the unix command below in expect script.
I want to remove all files in /tmp/temp-dir/ after ftp is completed.
/usr/bin/rm /tmp/temp-dir/*
This script is not working
#!/usr/local/bin/expect -f
spawn /usr/bin/rm /tmp/temp-dir/\*
Thanks
Minh