Copy file from remote to local? (question)
- Dominant language
- Go
- Stars
- 1.5k
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
maybe related to https://github.com/coder/wush/issues/115
**I'm trying to copy specific file(s) from a remote peer, by executing `wush` commands from my local Mac. Is this not possible?**
- wush 0.4.1
- Local side is macOS
- I installed wush inside WSL2 on the far side, and it works - I can establish connection and transfer files
- I have slow access to the far-side computer (Windows 11 PC) so direct remote control of the screen is difficult
I used this crude retry loop that sort of works, but gets stuck on some large files over about 50MB for some reason (croc works on those same file btw)
```sh
while ! wush rsync :/mnt/c/users/johndoe/desktop /tmp/johndoe -- --progress --stats -avz --human-readable ; do sleep 3; done
```
Is there a syntax for `wush cp` that can be initiated from the local side, prompting the remote side to send a single file? e.g.
```
wush cp :/mnt/c/users/johndoe/desktop/foo.zip /tmp/johndoe/foo.zip
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.