Comments (3)
It's run on the remote end exactly the same way as you ran it locally, i.e. if it's called with "./diskrsync" it will be called as "./diskrsync" on the remote.
As for the single dash, where do you see it? I can'r find any instances in the project.
from diskrsync.
-
Would be nice if that was documented, don't you think?
-
I guess it's the result of a go module.
$ ./diskrsync -h
Usage of ./diskrsync:
-calc-progress
Write calc progress
-no-compress
Store target as a raw file
-source
Source mode
-ssh-flags string
SSH flags
-sync-progress
Write sync progress
-target
Target mode
-verbose
Print statistics, progress, and some debug info
from diskrsync.
This looks like an output from an older version, this is what I get:
$ diskrsync -h
Usage of diskrsync:
--cmd-path string Remote command path (defaults to argv[0])
--no-compress Store target as a raw file
--ssh-flags string SSH flags
--verbose Print statistics, progress, and some debug info
pflag: help requested
(note "defaults to argv[0]
"). BTW, when run without arguments it gives:
$ diskrsync
Usage: diskrsync [flags] <src> <dst>
src and dst is [[user@]host:]path
Flags:
--cmd-path string Remote command path (defaults to argv[0])
--no-compress Store target as a raw file
--ssh-flags string SSH flags
--verbose Print statistics, progress, and some debug info
Ideally, the output from -h
should match this one. If you know how to do this, please open a PR.
from diskrsync.
Related Issues (20)
- Increasing order or depth of tree? HOT 2
- Deduplication HOT 2
- Build instructions HOT 2
- Can diskrsync write to a zfs volume ? HOT 2
- Adding offset and size parameters HOT 1
- Connection stalled detection HOT 2
- Adding target-path parameter
- Windows support HOT 1
- Append before checking option
- Source read errors - assume zeros
- cannot use path@version syntax in GOPATH mode HOT 2
- block consistency check HOT 2
- Target failed: target: while copying block: file too large HOT 1
- This repo still active? HOT 5
- Feature request: rollback versioning HOT 2
- bash: diskrsync: command not found HOT 1
- Disabling hole punching? HOT 15
- Dependencies? (other than Go deps) HOT 3
- Disable hole punch insufficient for writing to a Linux block device HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diskrsync.