Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: skaller <skaller@users.sourceforge.net>
To: Sebastien Ferre <sbf@aber.ac.uk>
Cc: caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] file copy
Date: 24 Jun 2004 01:20:01 +1000	[thread overview]
Message-ID: <1088003992.1941.60.camel@pelican.wigram> (raw)
In-Reply-To: <40D9A7E7.2060703@aber.ac.uk>

On Thu, 2004-06-24 at 01:55, Sebastien Ferre wrote:
> Hi,
> 
> is there any function in OCaml for copying a file
> like with the Unix command 'cp' ? I wish to avoid
> using the function Sys.command to keep platform
> independency.

You may consider:

ocaml-fileutils.
----------------
 
This library is intended to provide a basic interface to the most
common file and filename operation. It provides different filename
function : reduce, make_absolute, make_relative... It also enables
to manipulate real file : cp, mv, rm, touch...
 
AUTHOR: Sylvain LE GALL
AVAILABLE:

http://www.carva.org/sylvain.le-gall/ocaml-fileutils.html


-- 
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850, 
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net



-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  parent reply	other threads:[~2004-06-23 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 15:55 Sebastien Ferre
2004-06-23 15:06 ` Maxence Guesdon
2004-06-23 15:20 ` skaller [this message]
2004-06-23 16:37 ` padiolea
2004-06-23 19:21 ` sylvain.le-gall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1088003992.1941.60.camel@pelican.wigram \
    --to=skaller@users.sourceforge.net \
    --cc=caml-list@inria.fr \
    --cc=sbf@aber.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox