I'm struggling with something that should be simple. I'm running rsync over a dial-up that is not really reliable, so rsyncs fail pretty often. I'd like to do something like this, assuming that the return code from rsync > 0 on failure (not a shell script, just some sloppy pseudocode): while `rsync ... blah... ` do ;; Has anyone done this? Is there an example or some pitfalls to watch? --Yan
