Open fatso83 opened 8 years ago
it's not going to give an error if it can't find the paths so that's why it doesn't throw an error
@calvinmetcalf: yeah but why not? It should throw or log a warning when the source path does not exist! It is completely unreliable otherwise ...
That logic makes no sense. If missing files is not an error, then WTF is.
so we pass the paths to glob which tries to match them with paths on the hard drive, but a missing file just means a glob that doesn't match anything, which means we just don't put any files into the queue, so we could do a couple things
Ok that makes sense - I think adding a verbose flag, that logs a warning when a glob is not returning files would be sufficient for me - no idea what others think of this approach so...
copyfiles does-not.exist out
did not throw. so I'm here..
Nothing happens when I run the following script. I don't get an error and no files are being produced.