mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 12:05:05 +08:00
Rename to rclone
This commit is contained in:
parent
fce2af7934
commit
f5e60b6e37
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,4 +2,4 @@
|
|||
*.pyc
|
||||
test-env*
|
||||
junk/
|
||||
swiftsync
|
||||
rclone
|
||||
|
|
20
README.md
20
README.md
|
@ -1,7 +1,13 @@
|
|||
Swiftsync
|
||||
==========
|
||||
Rclone
|
||||
======
|
||||
|
||||
Sync files and directories to and from swift
|
||||
Sync files and directories to and from
|
||||
|
||||
* Openstack Swift
|
||||
* Rackspace cloud files
|
||||
* Amazon S3
|
||||
* Google Drive
|
||||
* The local filesystem
|
||||
|
||||
FIXME
|
||||
|
||||
|
@ -9,15 +15,15 @@ FIXME
|
|||
Install
|
||||
-------
|
||||
|
||||
Swiftsync is a Go program and comes as a single binary file.
|
||||
Rclone is a Go program and comes as a single binary file.
|
||||
|
||||
Download the relevant binary from
|
||||
|
||||
- http://www.craig-wood.com/nick/pub/swiftsync/
|
||||
- http://www.craig-wood.com/nick/pub/rclone/
|
||||
|
||||
Or alternatively if you have Go installed use
|
||||
|
||||
go get github.com/ncw/swiftsync
|
||||
go get github.com/ncw/rclone
|
||||
|
||||
and this will build the binary in `$GOPATH/bin`. You can then modify
|
||||
the source and submit patches.
|
||||
|
@ -38,7 +44,7 @@ Contact and support
|
|||
|
||||
The project website is at:
|
||||
|
||||
- https://github.com/ncw/swiftsync
|
||||
- https://github.com/ncw/rclone
|
||||
|
||||
There you can file bug reports, ask for help or contribute patches.
|
||||
|
||||
|
|
|
@ -810,7 +810,7 @@ func (fs *FsObjectDrive) Storable() bool {
|
|||
// Open an object for read
|
||||
func (fs *FsObjectDrive) Open() (in io.ReadCloser, err error) {
|
||||
req, _ := http.NewRequest("GET", fs.url, nil)
|
||||
req.Header.Set("User-Agent", "swiftsync/1.0")
|
||||
req.Header.Set("User-Agent", "rclone/1.0")
|
||||
res, err := fs.drive.client.Do(req)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
@ -205,7 +205,7 @@ func (f *FsLocal) readPrecision() (precision time.Duration) {
|
|||
precision = time.Second
|
||||
|
||||
// Create temporary file and test it
|
||||
fd, err := ioutil.TempFile("", "swiftsync")
|
||||
fd, err := ioutil.TempFile("", "rclone")
|
||||
if err != nil {
|
||||
// If failed return 1s
|
||||
// fmt.Println("Failed to create temp file", err)
|
||||
|
|
15
notes.txt
15
notes.txt
|
@ -1,18 +1,5 @@
|
|||
Names
|
||||
* cakesync
|
||||
* zzsync
|
||||
* pqrsync
|
||||
* gogosync
|
||||
* pogosync
|
||||
* oursync
|
||||
* godupe
|
||||
* gobsync
|
||||
* gobcopy
|
||||
* togosync
|
||||
* tangosync
|
||||
* mangosync
|
||||
* cargosync
|
||||
* cargocopy - domain available
|
||||
* rclone - domain ok, apt ok
|
||||
|
||||
Todo
|
||||
* Make a test suite which can run on all the given types of fs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// Sync files and directories to and from swift
|
||||
// Sync files and directories to and from local and remote object stores
|
||||
//
|
||||
// Nick Craig-Wood <nick@craig-wood.com>
|
||||
package main
|
||||
|
@ -480,7 +480,7 @@ var Commands = []Command{
|
|||
|
||||
// syntaxError prints the syntax
|
||||
func syntaxError() {
|
||||
fmt.Fprintf(os.Stderr, `Sync files and directories to and from swift
|
||||
fmt.Fprintf(os.Stderr, `Sync files and directories to and from local and remote object stores
|
||||
|
||||
Syntax: [options] subcommand <parameters> <parameters...>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
// Tests for swiftsync
|
||||
// Tests for rclone
|
||||
package main
|
||||
|
||||
import (
|
Loading…
Reference in New Issue
Block a user