Skip to content

Copy file from remote to local? (question) #116

@luckman212

Description

@luckman212

maybe related to #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)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions