[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: urgent : probleme avec variable dans script ssh



Quoting Stephane Durieux <durieux42@yahoo.fr>:

bonjour


Bonjour,

je rencontre un probleme dans un script ssh
ssh host <<EOF
    for o in /directory/*
    do
            cp -pr /directory/$o /other_location

ça ne serait pas plutôt cp -pr $o /other_location
?


la variable o ne semble pas definie ou plutot uniquement sur l hote
distant le probleme est qu ell


Cordialement.

--
Bruno Berteau
http://b.berteau.free.fr



Reply to: