scp拷贝expect 自动交互脚本

data=`date +%F`
/usr/bin/expect <<-EOF
set time 30
spawn scp root@"$data".sql.gz  /data/bigmysql/big213
expect {
"*yes/no" { send "yes\r"; exp_continue }
"*password:" { send "H8^eD4^kE5!h\r" } #双引号里面是密码
expect eof




已有 9 条评论

  1. clourgy

    Potenzmittel Viagra Holland buy liquid cialis online Generic Accutane Sale Canada

  2. Twirway

    Cialis 20mg Online Apotheke ivermectin tablets for humans Comprar Cialis Diario

  3. Entenedat

    buy cialis 20mg The tablet will dissolve as soon as you put it in your mouth, while regular Cialis pills need to be digested

  4. experly

    In a study of 27,839 men between 20 and 75 years old from eight countries, the US presented with the highest self-reporting rate of ED at 22 cialis with priligy 1994- Began catering exclusively at the Colts Neck Fire Company 1 in Colts Neck, NJ

  5. Litimitte

    Mobfathers Permanent Rehab Dir cheapest cialis 20mg

  6. SokSwette

    They take Viagra for five, six, 10 years, and some days they feel that there is little improvement in function purchase cialis

  7. hustype

    Ned Tijdschr Geneeskd 1997, 141 2401 2405. how to buy clomid on line Mallett test See Mallett fixation disparity unit.

  8. braiche

    nolvadex Please let me know your thoughts.

  9. ignisse

    These strains of bacteria may grow and reproduce more slowly and thus withstand the initial effects of the drugs. doxycycline INTERNET Mastrianni JA.