I have a working script which I have written, but I want to make an adjustment to call a function after invoking sftp, it is something like this
sftp user$node
prompt
lcd $LOCAL_DIR
do_this # that is the function
bye
sftp eof
it is ot calling the function, any ideas?
sftp user$node
prompt
lcd $LOCAL_DIR
do_this # that is the function
bye
sftp eof
it is ot calling the function, any ideas?