Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: Filtering files in directories.

From: vado:fabrice:chello at: 2-Jan-2003 20:18

Hi Ed, Le Thursday, January 2, 2003, 6:26:01 PM, vous écriviez : Ed> How do I get only specified files in a directory? IOW, how do I do Ed> the equivalent of pattern matching, if I want all JPG files, how Ed> do I return only *.jpg? Just for fun (no, I'm REALLY not an expert ;) I have test that : ------------------------------ foreach file load %. [if find file ".jpg" [print file] ] ------------------------------ Just a start for your own function. -- Fabrice