Comments (2)
Currently support synchronizing directory in your local machine to the gofs server, you can use the gofs
as a library on the client side like the following code:
package main
import (
"os"
"github.com/no-src/gofs/cmd"
)
func main() {
cmd.RunWithArgs([]string{
os.Args[0],
`-source=./source`,
`-dest=rs://127.0.0.1:8105?local_sync_disabled=false&path=./dest`,
`-users=gofs|password`,
})
}
And more expose functions like Run
and RunWithConfig
.
More standard protocols like the SFTP will be supported in the future, if you don't want to deploy the gofs
server side.
from gofs.
Great, thanks!
from gofs.
Related Issues (18)
- Found data race in the "Local Disk" mode HOT 1
- Found data race in the "Remote Disk Server" and "Remote Disk Client" mode HOT 1
- Found data race in the "tcpServer" HOT 1
- 重命名函数好像不大对劲 HOT 2
- Is gofs send all files or only the difference ? HOT 1
- Build Dockerfile successfully, but failed to run
- 实际使用方法 HOT 1
- 您好,这个是否支持增量同步呢
- 是否可以直接打包一个可执行文件 HOT 1
- Fix code scanning alert - Use of insecure HostKeyCallback implementation
- Fix code scanning alert - Arbitrary file write during zip extraction ("zip slip")
- Such a tool needs a feature to limit bandwidth HOT 6
- A suggestion about product design HOT 13
- Consider moving fsctl to a new standalone project HOT 1
- 删除文件的操作无法同步远程 HOT 5
- remote_client_sync模式当同步路径中包含#,数据不同步 HOT 20
- Relay HOT 2
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 gofs.