[plt-scheme] Re: Remove File Operations

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Fri May 1 20:25:44 EDT 2009

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.

> * For remote file access on linux, there is `sshfs', based on `fuse'.
>  It's extremely convenient to work on any remote machine -- it even
>  works with Windows mounts.  You basically get to mount a remote path
>  locally, where everything is going through an ssh line underneath.
>  (It took some hacking, but I eventually even managed to hook it to
>  auto mount...)
>

That's interesting. I could use that indeed, that way I definitely
would have this ssh problem. OTOH it would be really nice to have a
scheme way to do ssh connections and file operations... lets see...

> * 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?

Cheers,

Paulo Matos

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



-- 
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm


Posted on the users mailing list.