mirror of https://gogs.blitter.com/RLabs/xs
Compare commits
No commits in common. "master" and "latest" have entirely different histories.
|
|
@ -211,12 +211,6 @@ If no leading / is specified in src-or-dest-path, it is assumed to be relative t
|
||||||
remote user. File operations are all performed as the remote user, so account permissions apply
|
remote user. File operations are all performed as the remote user, so account permissions apply
|
||||||
as expected.
|
as expected.
|
||||||
|
|
||||||
When running under MSYS2, one must set the MINGW_ROOT environment variable to assist in
|
|
||||||
determining how to convert Windows paths to UNIX-style paths. This should be the installation path
|
|
||||||
of one's MSYS2 environment (eg., _C:/msys2_). Go's stdlib, under the hood, still uses Windows
|
|
||||||
style paths (drive letters and all) to locate other executables and _xc_ uses _tar_ as part of the copy
|
|
||||||
functionality.
|
|
||||||
|
|
||||||
Local (client) to remote (server) copy:
|
Local (client) to remote (server) copy:
|
||||||
```
|
```
|
||||||
$ xc fileA /some/where/fileB /some/where/else/dirC joebloggs@host-or-ip:remoteDir
|
$ xc fileA /some/where/fileB /some/where/else/dirC joebloggs@host-or-ip:remoteDir
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue