Fork me on GitHub
#joker
<
2019-10-02
>
didibus06:10:49

Any way to copy a file with Joker? I'm not seeing it in the reference

didibus06:10:21

I know I can use sh, but I'm on windows, and there is no copy or move program on windows to use with sh

didibus06:10:39

copy is a command prompt special command, not an actual program you can make use of

didibus06:10:49

(os/sh "cmd" "/c" "COPY" file to-dir)

👍 8
Candid05:10:42

@U0K064KQV I've added function that allows for something like ( (joker.os/create "dst") (joker.os/open "src")) See https://github.com/candid82/joker/commit/bb5b1dc4896f9f8319139cd9653c416b09b0de4a