Re: while; do ssh ...; done
Hallo!
Am Donnerstag, den 18.08.2005, 14:47 +0200 schrieb Sascha Hüdepohl:
> while read host user path mtime
> do
> ssh $host "find $path -mtime $mtime -type f"
> done < out
Vermutlich frisst Dir die ssh den stdin auf, liest also die zweite bis
letzte Zeile aus out.
Versuch mal
while read host user path mtime
do
ssh $host "find $path -mtime $mtime -type f" < /dev/null
done < out
Gruß
Sven
--
Sven Lauritzen
--------------------------------------------------------------------
mailto: the minus pulse at gmx dot net
pub 1024D/95C9A892 sub 1024g/D30E490F ABCDEFGHIJKLM
Fp 2FA9 FC9B 078C 5BC7 87DC 0B0D 2329 94F6 95C9 A892 NOPQRSTUVWXYZ
--------------------------------------------------------------------
Reply to: