Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
file-glob & sub folders
#1
Is it possible to have file-glob traverse sub-folders?
If not, are there any online examples you can point me at where someone has implemented a work-around?

TIA
Reply
#2
https://stackoverflow.com/questions/7806...ll-folders

Another solution is to come to the 3rd millennium and write your script in Python, where this functionality is part of the language.
Reply
#3
(05-24-2019, 11:26 AM)Ofnuts Wrote: https://stackoverflow.com/questions/7806...ll-folders

Another solution is to come to the 3rd millennium and write your script in Python, where this functionality is part of the language.

Much appreciated Ofnuts - you'll be asking me to stop using my VHS next!  Wink
Reply
#4
(05-24-2019, 02:33 PM)TimHaydnJones Wrote:
(05-24-2019, 11:26 AM)Ofnuts Wrote: https://stackoverflow.com/questions/7806...ll-folders

Another solution is to come to the 3rd millennium and write your script in Python, where this functionality is part of the language.

Much appreciated Ofnuts - you'll be asking me to stop using my VHS next!  Wink

Scheme is more like Betamax, technically superior to things of the same era, but didn't find its market Smile

My kids would call that black-and-white programming (refering to the movies of the 1st half of the 20th century).
Reply
#5
Ofnuts, thank you for clarifying. Being new to GIMP but wanting to stay with it, I've gone from "leaning toward almost ready to start thinking about maybe putting some serious time into learning Python instead of Scheme" to happily convinced.
Reply
#6
(05-25-2019, 03:14 PM)neurolurker Wrote: Ofnuts, thank you for clarifying.  Being new to GIMP but wanting to stay with it, I've gone from "leaning toward almost ready to start thinking about maybe putting some serious time into learning Python instead of Scheme" to happily convinced.

Good.

In practice,  as far as I can tell there is one single person in the world who uses script-fu Scheme as it should be used (he is of course a strong proponent of Scheme and deeply despises Python). Scripts from all other authors look more or less like they are trying to evade Script-fu to use more "classic" forms of programming.
Reply


Forum Jump: