Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

coder sync fails if all dirs leading to sync remoteDir don't already exist #48

Closed
@Russtopia

Description

@Russtopia

With a new environment, I tried

$ coder sync ~/dev/x11wasm russ-dev1:/home/coder/dev/x11wasm
 2020-06-16 11:01:54 INFO doing initial sync (/home/russtopia/dev/x11wasm -> /home/coder/dev/x11wasm)
 2020-06-16 11:01:58 FATAL sync: rsync: exit status 11

For coder sync to succeed, I had to first do

coder sh russ-dev1
$ mkdir dev
$ exit

Might be nice if the coder sync command was able to essentially do a mkdir -p to ensure the rsync can operate on a brand new tree.

Metadata

Metadata

Assignees

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