This is probably more of a Python question than a Buildbot question, but I think the glob.glob() function will be the best place to start in getting your recursive list of *.txt files.
Are you trying to preserve the directory structure of the source at the target? -G From: users <users-boun...@buildbot.net> On Behalf Of honas grael Sent: Wednesday, October 2, 2019 08:44 To: Buildbot <users@buildbot.net> Subject: [us...@bb.net] copying all text files from one folder to another on the worker Hello I have a source and destination folder on my worker. I want to copy all the text files (*.txt) from the source folder to the destination folder. The source folder has multiple sub folders. I essentially want to crawl all the files & folders in the source location and copy and txt files that exist to the destination location. How can I do this?
_______________________________________________ users mailing list users@buildbot.net https://lists.buildbot.net/mailman/listinfo/users