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

Re: while; do ssh ...; done



* Sven Lauritzen (the-pulse@gmx.net) wrote:
> 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.

BOOOOA! Da soll man mal draufkommen. Das wars wohl. Jedenfalls geht es
jetzt. Und im Nachhinein leuchtet das sogar ein.

Dafür meine Hochachtung.

gruss
sascha



Reply to: