Rename to rclone

s3-about
Nick Craig-Wood 2013-06-27 20:00:01 +01:00
parent fce2af7934
commit f5e60b6e37
7 changed files with 20 additions and 27 deletions

2
.gitignore vendored
View File

@ -2,4 +2,4 @@
*.pyc
test-env*
junk/
swiftsync
rclone

View File

@ -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.

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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...>

View File

@ -1,4 +1,4 @@
// Tests for swiftsync
// Tests for rclone
package main
import (