Closed jgigler closed 7 years ago
Thanks for the PR. I don't like spaces around my =
:)
kidding
I prefer RoboCopy. Join-Path is nice, don't like extra call over the straight string concatenation.
Are you suggesting replacing RoboCopy because this may be run on Linux|Mac?
Yeah, the changes were to get it to work on OSX and Linux. OSX was barfing with the "\" on the string concatenation, and obviously robocopy is a limitation as well. I guess I could do a switch on $IsLinux / $IsOSX, but IMO it's nice not needing to branch the copy logic.
Thanks for tracking that down and doing the PR. Much appreciated.
…and Linux.