[users at bb.net] copying all text files from one folder to another on the worker
honasgraeymael at gmail.com
Wed Oct 2 12:59:30 UTC 2019
I am not trying to preserve the directory structure, quite the opposite I'm
trying to flatten the source directory by only having the .txt files in the
Just a note I have tried
for /r %x in (*.dll, *pdb) do copy "%x" targetDir\
But keep getting weird escape characters such as \ so the copy command
does not work
On Wed, Oct 2, 2019 at 1:53 PM Glen Neff (gneff) <gneff at cisco.com> wrote:
> 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
> *From:* users <users-bounces at buildbot.net> *On Behalf Of *honas grael
> *Sent:* Wednesday, October 2, 2019 08:44
> *To:* Buildbot <users at buildbot.net>
> *Subject:* [users at 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 at buildbot.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users