[REBOL] Re: Directory tools
From: jelinem1:nationwide at: 12-Apr-2001 9:16
Thanks for posting file-tools.r! I have been writing bits of it for myself
as I needed them, and was currently balking at writing the
directory-related functions (esp copying).
I needed to modify the way that external code is included to use my own
scheme, no problem.
I added a /verbose refinement to copy-directory. I want to see what my
script does to make sure it behaves itself!
However, I'm getting the following error in mime-read. What is the purpose
of adding /full at the end of what should already be the full file path?
>> retval: copy-directory/files/verbose %/d/html/eq/source/book-cod/
Copy Dir FROM: /d/html/eq/source/book-cod/
- Copy file: about.r
** Script Error: Invalid path value: full
** Where: mime-read
** Near: read source-as-object/full
- Michael Jelinek
<[brett--codeconscious--com]>@rebol.com on 04/11/2001 09:09:39
From: "Brett Handley" <[brett--codeconscious--com]>@rebol.com on 04/11/2001
Please respond to [rebol-list--rebol--com]
Sent by: [rebol-bounce--rebol--com]
Subject: [REBOL] Directory tools
Seeing Marcus' console tools post prompted me to post my file-tools.r
I've been working on recently.
In this script I wanted some functions that would recursively work on
directories whether they are file! or url!.
Also in this script I played with the idea of generating script for
deferred/custom actions based on reading a directory.