File size: 392 Bytes
fe617ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/expect

set host "connect.nmb2.seetacloud.com"
set port "15054"
set user "root"
set password "9Dml+WZeqp5b"
set local_dir "."
set remote_dir "/root/autodl-tmp/book-rec-with-LLMs"

# Sync train_sasrec.py
spawn scp -P $port $local_dir/scripts/train_sasrec.py $user@$host:$remote_dir/scripts/
expect {
    "password:" { send "$password\r" }
}
expect eof

puts "SASRec Script Synced!"