[plt-scheme] Re: Remove File Operations

From: Eli Barzilay (eli at barzilay.org)
Date: Fri May 1 20:36:03 EDT 2009

On May  2, Paulo J. Matos wrote:
> On Fri, May 1, 2009 at 8:29 PM, Eli Barzilay <eli at barzilay.org> wrote:
> > On May  1, Paulo J. Matos wrote:
> >> [...]
> >
> > Some possibly relevant & random notes:
> >
> > * For backups, I found unison to work very well, except that it's
> >  difficult to customize it for different subsets that you want to
> >  synchronize.  I wrote a scheme wrapper that deals with that and
> >  that worked fine for me for several years now.
> I also use unison for synchronisation but for backup I really would
> like something that compresses the files.

`rsync'?  Or do you mean compress the files on the target machine?

> > * For password issues with ssh, a nice solution would be to write an
> >  interface to sockets (IIRC, there are existing interfaces in
> >  several other implementations with varying degrees of
> >  completeness), but a much easier solution is to use some wrapper
> >  utility.  One such thing is `socat' -- you can use it to start a
> >  program like ssh and get back two simple input/output ports.
> can't understand how would an interface to sockets help, could you
> please clarify?

It makes it possible to run ssh as a subprocess, and feed it the
password (that the scheme code will obtain in some way).

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.