listing files in a directory folder and subfolders and copy

Wouter wouter.abraham at pi.be
Tue Dec 2 20:33:22 EST 2003


On 02 Dec 2003, at 18:00, use-revolution-request at lists.runrev.com wrote:

>
> Message: 3
> Date: Tue, 2 Dec 2003 16:50:02 +0100
> From: Bj?rnke von Gierke<bvg at mac.com>
> Subject: Re: listing files in a directory folder and subfolders and
> 	copy
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <30CAE75A-24DF-11D8-B2B1-003065AD94A4 at mac.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> You need to make a directory walker. You have to loop trough all the
> folders and set the defaultfolder to it, then loop trough these folders
> etc. Watch out for the .. directory on macosx and unix systems, it
> might trap you in a infinite loop.

snip

The thing that will trap you into a infinite loop is a "symbolic link".
Some explanation and the shortest dir_walker in rev on osx (and may be  
the other
nix)

http://lists.runrev.com/pipermail/use-revolution/2003-September/ 
022972.html
http://lists.runrev.com/pipermail/use-revolution/2003-September/ 
022974.html

Greetings,
WA



More information about the use-livecode mailing list