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

[REBOL] Re: Mass File Naming

From: max:ordigraphe at: 31-Aug-2001 11:05

Here you go! ------------------------ rebol [] dirs: load %/c/ foreach file dirs [ either not (find file "/") [ oldname: copy file probe file remove copy clear find file last file remove find file last file probe file rename oldfile file ][ print [file "is a directory"] ] ] --------------------------- cheers! -Max Contrary to popular belief, Unix IS user-friendly... its just picky on who it considers a friend