Recursive subfolder file scanning

Ken Ray kray at sonsothunder.com
Fri Mar 28 22:40:01 EST 2003


David,

I have a Tip on my web site specifically about that:

http://www.sonsothunder.com/devres/revolution/revolution.htm?_file007

Hope this helps,

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com 
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of 
> David Kwinter
> Sent: Friday, March 28, 2003 5:49 PM
> To: use-revolution at lists.runrev.com
> Subject: Recursive subfolder file scanning
> 
> 
> In the interest of making a backup utility I've found a 
> problem which perhaps someone has delt with before
> 
> I would like to specify a folder say:
> 
> /Macintosh HD/Users/davidkwi/
> 
> And have it identify all files with full paths, then in each 
> folder, sub-folder, sub-sub-folder, etc. collect all paths 
> for all files regardless of the depth of folders.
> 
> Resulting with something like:
> 
> /Macintosh HD/Users/davidkwi/Shared/song.mp3
> /Macinotsh HD/Users/davidkwi/Shared/desktoppic.jpg
> /Macintosh HD/Users/davidkwi/Pictures/Vacations/Whistler/mountain.tiff
> 
> I'm familiar with "the files" and "the folders" - the 
> solution must be some kind of function which gets the files 
> and folders for a starting directory then calls itself with 
> each subfolder?
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com 
> http://lists.runrev.com/mailman/listinfo/use-> revolution
> 




More information about the use-livecode mailing list