mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 17:57:44 +08:00
bisync: optimize --resync performance -- partially addresses #5681
Before this change, --resync was handled in three steps, and needed to do a lot of unnecessary work to implement its own --ignore-existing logic, which also caused problems with unicode normalization, in addition to being pretty slow. After this change, it is refactored to produce the same result much more efficiently, by reducing the three steps to two and letting ci.IgnoreExisting do the work instead of reinventing the wheel. The behavior and sync order remain unchanged for now -- just faster (but see the ongoing lively discussions about potential future changes in #5681!)
This commit is contained in:
parent
f7f4651828
commit
9c96c13a35
|
@ -114,18 +114,24 @@ func (ls *fileList) remove(file string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ls *fileList) put(file string, size int64, time time.Time, hash, id string, flags string) {
|
func (ls *fileList) put(file string, size int64, modtime time.Time, hash, id string, flags string) {
|
||||||
fi := ls.get(file)
|
fi := ls.get(file)
|
||||||
if fi != nil {
|
if fi != nil {
|
||||||
fi.size = size
|
fi.size = size
|
||||||
fi.time = time
|
// if already have higher precision of same time, avoid overwriting it
|
||||||
|
if fi.time != modtime {
|
||||||
|
if modtime.Before(fi.time) && fi.time.Sub(modtime) < time.Second {
|
||||||
|
modtime = fi.time
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fi.time = modtime
|
||||||
fi.hash = hash
|
fi.hash = hash
|
||||||
fi.id = id
|
fi.id = id
|
||||||
fi.flags = flags
|
fi.flags = flags
|
||||||
} else {
|
} else {
|
||||||
fi = &fileInfo{
|
fi = &fileInfo{
|
||||||
size: size,
|
size: size,
|
||||||
time: time,
|
time: modtime,
|
||||||
hash: hash,
|
hash: hash,
|
||||||
id: id,
|
id: id,
|
||||||
flags: flags,
|
flags: flags,
|
||||||
|
@ -446,6 +452,14 @@ func (b *bisyncRun) modifyListing(ctx context.Context, src fs.Fs, dst fs.Fs, res
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("cannot read new listing: %w", err)
|
return fmt.Errorf("cannot read new listing: %w", err)
|
||||||
}
|
}
|
||||||
|
// for resync only, dstListNew will be empty, so need to use results instead
|
||||||
|
if b.opt.Resync {
|
||||||
|
for _, result := range results {
|
||||||
|
if result.Name != "" && result.IsDst {
|
||||||
|
dstListNew.put(result.Name, result.Size, result.Modtime, result.Hash, "-", result.Flags)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
srcWinners := newFileList()
|
srcWinners := newFileList()
|
||||||
dstWinners := newFileList()
|
dstWinners := newFileList()
|
||||||
|
|
|
@ -6,6 +6,7 @@ import (
|
||||||
|
|
||||||
"github.com/rclone/rclone/fs"
|
"github.com/rclone/rclone/fs"
|
||||||
"github.com/rclone/rclone/fs/accounting"
|
"github.com/rclone/rclone/fs/accounting"
|
||||||
|
"github.com/rclone/rclone/fs/filter"
|
||||||
"github.com/rclone/rclone/fs/hash"
|
"github.com/rclone/rclone/fs/hash"
|
||||||
"github.com/rclone/rclone/fs/march"
|
"github.com/rclone/rclone/fs/march"
|
||||||
)
|
)
|
||||||
|
@ -183,3 +184,38 @@ func whichPath(isPath1 bool) string {
|
||||||
}
|
}
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (b *bisyncRun) findCheckFiles(ctx context.Context) (*fileList, *fileList, error) {
|
||||||
|
ctxCheckFile, filterCheckFile := filter.AddConfig(ctx)
|
||||||
|
b.handleErr(b.opt.CheckFilename, "error adding CheckFilename to filter", filterCheckFile.Add(true, b.opt.CheckFilename), true, true)
|
||||||
|
b.handleErr(b.opt.CheckFilename, "error adding ** exclusion to filter", filterCheckFile.Add(false, "**"), true, true)
|
||||||
|
ci := fs.GetConfig(ctxCheckFile)
|
||||||
|
marchCtx = ctxCheckFile
|
||||||
|
|
||||||
|
b.setupListing()
|
||||||
|
fs.Debugf(b, "starting to march!")
|
||||||
|
|
||||||
|
// set up a march over fdst (Path2) and fsrc (Path1)
|
||||||
|
m := &march.March{
|
||||||
|
Ctx: ctxCheckFile,
|
||||||
|
Fdst: b.fs2,
|
||||||
|
Fsrc: b.fs1,
|
||||||
|
Dir: "",
|
||||||
|
NoTraverse: false,
|
||||||
|
Callback: b,
|
||||||
|
DstIncludeAll: false,
|
||||||
|
NoCheckDest: false,
|
||||||
|
NoUnicodeNormalization: ci.NoUnicodeNormalization,
|
||||||
|
}
|
||||||
|
err = m.Run(ctxCheckFile)
|
||||||
|
|
||||||
|
fs.Debugf(b, "march completed. err: %v", err)
|
||||||
|
if err == nil {
|
||||||
|
err = firstErr
|
||||||
|
}
|
||||||
|
if err != nil {
|
||||||
|
b.abort = true
|
||||||
|
}
|
||||||
|
|
||||||
|
return ls1, ls2, err
|
||||||
|
}
|
||||||
|
|
|
@ -37,6 +37,8 @@ type bisyncRun struct {
|
||||||
newListing1 string
|
newListing1 string
|
||||||
newListing2 string
|
newListing2 string
|
||||||
opt *Options
|
opt *Options
|
||||||
|
octx context.Context
|
||||||
|
fctx context.Context
|
||||||
}
|
}
|
||||||
|
|
||||||
type queues struct {
|
type queues struct {
|
||||||
|
@ -205,6 +207,8 @@ func (b *bisyncRun) runLocked(octx context.Context) (err error) {
|
||||||
b.retryable = true
|
b.retryable = true
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
b.octx = octx
|
||||||
|
b.fctx = fctx
|
||||||
|
|
||||||
// Generate Path1 and Path2 listings and copy any unique Path2 files to Path1
|
// Generate Path1 and Path2 listings and copy any unique Path2 files to Path1
|
||||||
if opt.Resync {
|
if opt.Resync {
|
||||||
|
@ -365,20 +369,16 @@ func (b *bisyncRun) runLocked(octx context.Context) (err error) {
|
||||||
func (b *bisyncRun) resync(octx, fctx context.Context) error {
|
func (b *bisyncRun) resync(octx, fctx context.Context) error {
|
||||||
fs.Infof(nil, "Copying unique Path2 files to Path1")
|
fs.Infof(nil, "Copying unique Path2 files to Path1")
|
||||||
|
|
||||||
// TODO: remove this listing eventually.
|
// Save blank filelists (will be filled from sync results)
|
||||||
// Listing here is only really necessary for our --ignore-existing logic
|
var ls1 = newFileList()
|
||||||
// which would be more efficiently implemented by setting ci.IgnoreExisting
|
var ls2 = newFileList()
|
||||||
filesNow1, filesNow2, err := b.makeMarchListing(fctx)
|
err = ls1.save(fctx, b.newListing1)
|
||||||
if err == nil {
|
|
||||||
err = b.checkListing(filesNow1, b.newListing1, "current Path1")
|
|
||||||
}
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
b.abort = true
|
||||||
}
|
}
|
||||||
|
err = ls2.save(fctx, b.newListing2)
|
||||||
err = b.checkListing(filesNow2, b.newListing2, "current Path2")
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
b.abort = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check access health on the Path1 and Path2 filesystems
|
// Check access health on the Path1 and Path2 filesystems
|
||||||
|
@ -386,6 +386,13 @@ func (b *bisyncRun) resync(octx, fctx context.Context) error {
|
||||||
if b.opt.CheckAccess {
|
if b.opt.CheckAccess {
|
||||||
fs.Infof(nil, "Checking access health")
|
fs.Infof(nil, "Checking access health")
|
||||||
|
|
||||||
|
filesNow1, filesNow2, err := b.findCheckFiles(fctx)
|
||||||
|
if err != nil {
|
||||||
|
b.critical = true
|
||||||
|
b.retryable = true
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
ds1 := &deltaSet{
|
ds1 := &deltaSet{
|
||||||
checkFiles: bilib.Names{},
|
checkFiles: bilib.Names{},
|
||||||
}
|
}
|
||||||
|
@ -414,32 +421,11 @@ func (b *bisyncRun) resync(octx, fctx context.Context) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
copy2to1 := []string{}
|
|
||||||
for _, file := range filesNow2.list {
|
|
||||||
if !filesNow1.has(file) {
|
|
||||||
b.indent("Path2", file, "Resync will copy to Path1")
|
|
||||||
copy2to1 = append(copy2to1, file)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var results2to1 []Results
|
var results2to1 []Results
|
||||||
var results1to2 []Results
|
var results1to2 []Results
|
||||||
var results2to1Dirs []Results
|
|
||||||
queues := queues{}
|
queues := queues{}
|
||||||
|
|
||||||
if len(copy2to1) > 0 {
|
b.indent("Path2", "Path1", "Resync is copying UNIQUE files to")
|
||||||
b.indent("Path2", "Path1", "Resync is doing queued copies to")
|
|
||||||
resync2to1 := bilib.ToNames(copy2to1)
|
|
||||||
altNames2to1 := bilib.Names{}
|
|
||||||
b.findAltNames(octx, b.fs1, resync2to1, b.newListing1, altNames2to1)
|
|
||||||
// octx does not have extra filters!
|
|
||||||
results2to1, err = b.fastCopy(octx, b.fs2, b.fs1, resync2to1, "resync-copy2to1", altNames2to1)
|
|
||||||
if err != nil {
|
|
||||||
b.critical = true
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fs.Infof(nil, "Resynching Path1 to Path2")
|
|
||||||
ctxRun := b.opt.setDryRun(fctx)
|
ctxRun := b.opt.setDryRun(fctx)
|
||||||
// fctx has our extra filters added!
|
// fctx has our extra filters added!
|
||||||
ctxSync, filterSync := filter.AddConfig(ctxRun)
|
ctxSync, filterSync := filter.AddConfig(ctxRun)
|
||||||
|
@ -447,60 +433,51 @@ func (b *bisyncRun) resync(octx, fctx context.Context) error {
|
||||||
// prevent overwriting Google Doc files (their size is -1)
|
// prevent overwriting Google Doc files (their size is -1)
|
||||||
filterSync.Opt.MinSize = 0
|
filterSync.Opt.MinSize = 0
|
||||||
}
|
}
|
||||||
if results1to2, err = b.resyncDir(ctxSync, b.fs1, b.fs2); err != nil {
|
ci := fs.GetConfig(ctxSync)
|
||||||
|
ci.IgnoreExisting = true
|
||||||
|
if results2to1, err = b.resyncDir(ctxSync, b.fs2, b.fs1); err != nil {
|
||||||
b.critical = true
|
b.critical = true
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if b.opt.CreateEmptySrcDirs {
|
b.indent("Path1", "Path2", "Resync is copying UNIQUE OR DIFFERING files to")
|
||||||
// copy Path2 back to Path1, for empty dirs
|
ci.IgnoreExisting = false
|
||||||
// the fastCopy above cannot include directories, because it relies on --files-from for filtering,
|
if results1to2, err = b.resyncDir(ctxSync, b.fs1, b.fs2); err != nil {
|
||||||
// so instead we'll copy them here, relying on fctx for our filtering.
|
b.critical = true
|
||||||
|
return err
|
||||||
// This preserves the original resync order for backward compatibility. It is essentially:
|
|
||||||
// rclone copy Path2 Path1 --ignore-existing
|
|
||||||
// rclone copy Path1 Path2 --create-empty-src-dirs
|
|
||||||
// rclone copy Path2 Path1 --create-empty-src-dirs
|
|
||||||
|
|
||||||
// although if we were starting from scratch, it might be cleaner and faster to just do:
|
|
||||||
// rclone copy Path2 Path1 --create-empty-src-dirs
|
|
||||||
// rclone copy Path1 Path2 --create-empty-src-dirs
|
|
||||||
|
|
||||||
fs.Infof(nil, "Resynching Path2 to Path1 (for empty dirs)")
|
|
||||||
|
|
||||||
// note copy (not sync) and dst comes before src
|
|
||||||
if results2to1Dirs, err = b.resyncDir(ctxSync, b.fs2, b.fs1); err != nil {
|
|
||||||
b.critical = true
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.Infof(nil, "Resync updating listings")
|
fs.Infof(nil, "Resync updating listings")
|
||||||
b.saveOldListings()
|
b.saveOldListings()
|
||||||
b.replaceCurrentListings()
|
b.replaceCurrentListings()
|
||||||
|
|
||||||
|
resultsToQueue := func(results []Results) bilib.Names {
|
||||||
|
names := bilib.Names{}
|
||||||
|
for _, result := range results {
|
||||||
|
if result.Name != "" &&
|
||||||
|
(result.Flags != "d" || b.opt.CreateEmptySrcDirs) &&
|
||||||
|
result.IsSrc && result.Src != "" &&
|
||||||
|
(result.Winner.Err == nil || result.Flags == "d") {
|
||||||
|
names.Add(result.Name)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return names
|
||||||
|
}
|
||||||
|
|
||||||
// resync 2to1
|
// resync 2to1
|
||||||
queues.copy2to1 = bilib.ToNames(copy2to1)
|
queues.copy2to1 = resultsToQueue(results2to1)
|
||||||
if err = b.modifyListing(fctx, b.fs2, b.fs1, results2to1, queues, false); err != nil {
|
if err = b.modifyListing(fctx, b.fs2, b.fs1, results2to1, queues, false); err != nil {
|
||||||
b.critical = true
|
b.critical = true
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// resync 1to2
|
// resync 1to2
|
||||||
queues.copy1to2 = bilib.ToNames(filesNow1.list)
|
queues.copy1to2 = resultsToQueue(results1to2)
|
||||||
if err = b.modifyListing(fctx, b.fs1, b.fs2, results1to2, queues, true); err != nil {
|
if err = b.modifyListing(fctx, b.fs1, b.fs2, results1to2, queues, true); err != nil {
|
||||||
b.critical = true
|
b.critical = true
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
// resync 2to1 (dirs)
|
|
||||||
dirs2, _ := b.listDirsOnly(2)
|
|
||||||
queues.copy2to1 = bilib.ToNames(dirs2.list)
|
|
||||||
if err = b.modifyListing(fctx, b.fs2, b.fs1, results2to1Dirs, queues, false); err != nil {
|
|
||||||
b.critical = true
|
|
||||||
return err
|
|
||||||
}
|
|
||||||
|
|
||||||
if !b.opt.NoCleanup {
|
if !b.opt.NoCleanup {
|
||||||
_ = os.Remove(b.newListing1)
|
_ = os.Remove(b.newListing1)
|
||||||
_ = os.Remove(b.newListing2)
|
_ = os.Remove(b.newListing2)
|
||||||
|
@ -523,7 +500,7 @@ func (b *bisyncRun) checkSync(listing1, listing2 string) error {
|
||||||
transformed := newFileList()
|
transformed := newFileList()
|
||||||
for _, file := range files.list {
|
for _, file := range files.list {
|
||||||
f := files.get(file)
|
f := files.get(file)
|
||||||
transformed.put(ApplyTransforms(context.Background(), fs, file), f.size, f.time, f.hash, f.id, f.flags)
|
transformed.put(ApplyTransforms(b.fctx, fs, file), f.size, f.time, f.hash, f.id, f.flags)
|
||||||
}
|
}
|
||||||
return transformed
|
return transformed
|
||||||
}
|
}
|
||||||
|
@ -531,15 +508,19 @@ func (b *bisyncRun) checkSync(listing1, listing2 string) error {
|
||||||
files1Transformed := transformList(files1, b.fs1)
|
files1Transformed := transformList(files1, b.fs1)
|
||||||
files2Transformed := transformList(files2, b.fs2)
|
files2Transformed := transformList(files2, b.fs2)
|
||||||
|
|
||||||
|
// DEBUG
|
||||||
|
fs.Debugf(nil, "files1Transformed: %v", files1Transformed)
|
||||||
|
fs.Debugf(nil, "files2Transformed: %v", files2Transformed)
|
||||||
|
|
||||||
ok := true
|
ok := true
|
||||||
for _, file := range files1.list {
|
for _, file := range files1.list {
|
||||||
if !files2.has(file) && !files2Transformed.has(ApplyTransforms(context.Background(), b.fs1, file)) {
|
if !files2.has(file) && !files2Transformed.has(ApplyTransforms(b.fctx, b.fs1, file)) {
|
||||||
b.indent("ERROR", file, "Path1 file not found in Path2")
|
b.indent("ERROR", file, "Path1 file not found in Path2")
|
||||||
ok = false
|
ok = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for _, file := range files2.list {
|
for _, file := range files2.list {
|
||||||
if !files1.has(file) && !files1Transformed.has(ApplyTransforms(context.Background(), b.fs2, file)) {
|
if !files1.has(file) && !files1Transformed.has(ApplyTransforms(b.fctx, b.fs2, file)) {
|
||||||
b.indent("ERROR", file, "Path2 file not found in Path1")
|
b.indent("ERROR", file, "Path2 file not found in Path1")
|
||||||
ok = false
|
ok = false
|
||||||
}
|
}
|
||||||
|
|
|
@ -151,13 +151,8 @@ func (b *bisyncRun) fastCopy(ctx context.Context, fsrc, fdst fs.Fs, files bilib.
|
||||||
ignoreListingChecksum = b.opt.IgnoreListingChecksum
|
ignoreListingChecksum = b.opt.IgnoreListingChecksum
|
||||||
logger.LoggerFn = WriteResults
|
logger.LoggerFn = WriteResults
|
||||||
ctxCopyLogger := operations.WithSyncLogger(ctxCopy, logger)
|
ctxCopyLogger := operations.WithSyncLogger(ctxCopy, logger)
|
||||||
var err error
|
b.testFn()
|
||||||
if b.opt.Resync {
|
err := sync.Sync(ctxCopyLogger, fdst, fsrc, b.opt.CreateEmptySrcDirs)
|
||||||
err = sync.CopyDir(ctxCopyLogger, fdst, fsrc, b.opt.CreateEmptySrcDirs)
|
|
||||||
} else {
|
|
||||||
b.testFn()
|
|
||||||
err = sync.Sync(ctxCopyLogger, fdst, fsrc, b.opt.CreateEmptySrcDirs)
|
|
||||||
}
|
|
||||||
fs.Debugf(nil, "logger is: %v", logger)
|
fs.Debugf(nil, "logger is: %v", logger)
|
||||||
|
|
||||||
getResults := ReadResults(logger.JSON)
|
getResults := ReadResults(logger.JSON)
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 - - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 - - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 - - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 - - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
"RCLONE_TEST"
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -44,7 +45,8 @@ Bisync error: bisync aborted
|
||||||
[36m(12) :[0m [34mbisync resync[0m
|
[36m(12) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -90,9 +92,8 @@ Bisync error: bisync aborted
|
||||||
[36m(23) :[0m [34mbisync resync[0m
|
[36m(23) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mRCLONE_TEST[0m
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
INFO : - [34mPath2[0m [35mResync is doing queued copies to[0m - [36mPath1[0m
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resynching Path1 to Path2
|
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,8 @@ INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Using filters file {workdir/}exclude-other-filtersfile.txt
|
INFO : Using filters file {workdir/}exclude-other-filtersfile.txt
|
||||||
INFO : Storing filters file hash to {workdir/}exclude-other-filtersfile.txt.md5
|
INFO : Storing filters file hash to {workdir/}exclude-other-filtersfile.txt.md5
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -83,7 +84,8 @@ INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Using filters file {workdir/}include-other-filtersfile.txt
|
INFO : Using filters file {workdir/}include-other-filtersfile.txt
|
||||||
INFO : Storing filters file hash to {workdir/}include-other-filtersfile.txt.md5
|
INFO : Storing filters file hash to {workdir/}include-other-filtersfile.txt.md5
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -142,8 +144,8 @@ INFO : Path2: 1 changes: 0 new, 0 newer, 0 older, 1 deleted
|
||||||
INFO : Checking access health
|
INFO : Checking access health
|
||||||
ERROR : Access test failed: Path1 count 3, Path2 count 4 - RCLONE_TEST
|
ERROR : Access test failed: Path1 count 3, Path2 count 4 - RCLONE_TEST
|
||||||
ERROR : - [34m[0m [35mAccess test failed: Path1 file not found in Path2[0m - [36mRCLONE_TEST[0m
|
ERROR : - [34m[0m [35mAccess test failed: Path1 file not found in Path2[0m - [36mRCLONE_TEST[0m
|
||||||
ERROR : - [34m[0m [35mAccess test failed: Path2 file not found in Path1[0m - [36msubdirX/subdirX1/RCLONE_TEST[0m
|
|
||||||
ERROR : - [34m[0m [35mAccess test failed: Path2 file not found in Path1[0m - [36msubdir/RCLONE_TEST[0m
|
ERROR : - [34m[0m [35mAccess test failed: Path2 file not found in Path1[0m - [36msubdir/RCLONE_TEST[0m
|
||||||
|
ERROR : - [34m[0m [35mAccess test failed: Path2 file not found in Path1[0m - [36msubdirX/subdirX1/RCLONE_TEST[0m
|
||||||
ERROR : [31mBisync critical error: check file check failed[0m
|
ERROR : [31mBisync critical error: check file check failed[0m
|
||||||
ERROR : [31mBisync aborted. Must run --resync to recover.[0m
|
ERROR : [31mBisync aborted. Must run --resync to recover.[0m
|
||||||
Bisync error: bisync aborted
|
Bisync error: bisync aborted
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -47,7 +48,8 @@ INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Checking access health
|
INFO : Checking access health
|
||||||
INFO : Found 2 matching ".chk_file" files on both paths
|
INFO : Found 2 matching ".chk_file" files on both paths
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file8.txt"
|
|
||||||
|
|
|
@ -1,10 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file8.txt"
|
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -44,7 +45,8 @@ Bisync error: bisync aborted
|
||||||
[36m(19) :[0m [34mbisync resync[0m
|
[36m(19) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
"subdir"
|
|
|
@ -12,7 +12,8 @@
|
||||||
[36m(10) :[0m [34mbisync resync[0m
|
[36m(10) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -94,10 +95,8 @@ subdir/
|
||||||
[36m(39) :[0m [34mbisync resync create-empty-src-dirs[0m
|
[36m(39) :[0m [34mbisync resync create-empty-src-dirs[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36msubdir[0m
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
INFO : - [34mPath2[0m [35mResync is doing queued copies to[0m - [36mPath1[0m
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resynching Path1 to Path2
|
|
||||||
INFO : Resynching Path2 to Path1 (for empty dirs)
|
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
[36m(40) :[0m [34mlist-dirs {path1/}[0m
|
[36m(40) :[0m [34mlist-dirs {path1/}[0m
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
"file10.txt"
|
|
||||||
"file4.txt"
|
|
||||||
"file6.txt"
|
|
|
@ -1,8 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file11.txt"
|
|
||||||
- 13 md5:fb3ecfb2800400fb01b0bfd39903e9fb - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 39 md5:0860a03592626642f8fd6c8bfb447d2a - 2001-03-04T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
|
|
|
@ -1,9 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
|
|
|
@ -1,8 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file10.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 39 md5:979a803b15d27df0c31ad7d29006d10b - 2001-01-02T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
|
|
|
@ -1,9 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
"file10.txt"
|
|
||||||
"file4.txt"
|
|
||||||
"file6.txt"
|
|
|
@ -1,9 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
|
|
|
@ -1,9 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
"file10.txt"
|
|
||||||
"file4.txt"
|
|
||||||
"file6.txt"
|
|
10
cmd/bisync/testdata/test_dry_run/golden/test.log
vendored
10
cmd/bisync/testdata/test_dry_run/golden/test.log
vendored
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -45,14 +46,11 @@ INFO : [32mBisync successful[0m
|
||||||
[36m(28) :[0m [34mbisync dry-run resync[0m
|
[36m(28) :[0m [34mbisync dry-run resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile10.txt[0m
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile4.txt[0m
|
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile6.txt[0m
|
|
||||||
INFO : - [34mPath2[0m [35mResync is doing queued copies to[0m - [36mPath1[0m
|
|
||||||
NOTICE: file10.txt: Skipped copy as --dry-run is set (size 19)
|
NOTICE: file10.txt: Skipped copy as --dry-run is set (size 19)
|
||||||
NOTICE: file4.txt: Skipped copy as --dry-run is set (size 0)
|
NOTICE: file4.txt: Skipped copy as --dry-run is set (size 0)
|
||||||
NOTICE: file6.txt: Skipped copy as --dry-run is set (size 19)
|
NOTICE: file6.txt: Skipped copy as --dry-run is set (size 19)
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
NOTICE: file1.txt: Skipped copy as --dry-run is set (size 0)
|
NOTICE: file1.txt: Skipped copy as --dry-run is set (size 0)
|
||||||
NOTICE: file11.txt: Skipped copy as --dry-run is set (size 19)
|
NOTICE: file11.txt: Skipped copy as --dry-run is set (size 19)
|
||||||
NOTICE: file2.txt: Skipped copy as --dry-run is set (size 13)
|
NOTICE: file2.txt: Skipped copy as --dry-run is set (size 13)
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
"測試_Русский_ _ _ě_áñ/測試_check file"
|
|
|
@ -1,4 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 272 md5:0033328434f9662a7dae0d1aee7768b6 - 2000-01-01T00:00:00.000000000+0000 "filename_contains_ě_.txt"
|
|
||||||
- 272 md5:0033328434f9662a7dae0d1aee7768b6 - 2000-01-01T00:00:00.000000000+0000 "filename_contains_ࢺ_.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "測試_check file"
|
|
||||||
|
|
|
@ -1,4 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 272 md5:0033328434f9662a7dae0d1aee7768b6 - 2000-01-01T00:00:00.000000000+0000 "filename_contains_ě_.txt"
|
|
||||||
- 272 md5:0033328434f9662a7dae0d1aee7768b6 - 2000-01-01T00:00:00.000000000+0000 "filename_contains_ࢺ_.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "測試_check file"
|
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync subdir=測試_Русский_{spc}_{spc}_ě_áñ resync[0m
|
[36m(03) :[0m [34mbisync subdir=測試_Русский_{spc}_{spc}_ě_áñ resync[0m
|
||||||
INFO : Synching Path1 "{path1/}測試_Русский_ _ _ě_áñ/" with Path2 "{path2/}測試_Русский_ _ _ě_áñ/"
|
INFO : Synching Path1 "{path1/}測試_Русский_ _ _ě_áñ/" with Path2 "{path2/}測試_Русский_ _ _ě_áñ/"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
[36m(04) :[0m [34mcopy-listings resync[0m
|
[36m(04) :[0m [34mcopy-listings resync[0m
|
||||||
|
@ -40,7 +41,8 @@ INFO : [32mBisync successful[0m
|
||||||
[36m(13) :[0m [34mbisync resync[0m
|
[36m(13) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
[36m(14) :[0m [34mdelete-file {path1/}測試_Русский_{spc}_{spc}_ě_áñ/測試_check{spc}file[0m
|
[36m(14) :[0m [34mdelete-file {path1/}測試_Русский_{spc}_{spc}_ě_áñ/測試_check{spc}file[0m
|
||||||
|
@ -63,9 +65,8 @@ Bisync error: bisync aborted
|
||||||
[36m(18) :[0m [34mbisync resync[0m
|
[36m(18) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36m測試_Русский_ _ _ě_áñ/測試_check file[0m
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
INFO : - [34mPath2[0m [35mResync is doing queued copies to[0m - [36mPath1[0m
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resynching Path1 to Path2
|
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
[36m(19) :[0m [34mbisync check-access check-filename=測試_check{spc}file[0m
|
[36m(19) :[0m [34mbisync check-access check-filename=測試_check{spc}file[0m
|
||||||
|
@ -88,7 +89,8 @@ INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Using filters file {workdir/}測試_filtersfile.txt
|
INFO : Using filters file {workdir/}測試_filtersfile.txt
|
||||||
INFO : Storing filters file hash to {workdir/}測試_filtersfile.txt.md5
|
INFO : Storing filters file hash to {workdir/}測試_filtersfile.txt.md5
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
[36m(24) :[0m [34mcopy-as {datadir/}file1.txt {path1/} fileZ.txt[0m
|
[36m(24) :[0m [34mcopy-as {datadir/}file1.txt {path1/} fileZ.txt[0m
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
||||||
|
|
|
@ -1,10 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
||||||
|
|
|
@ -9,7 +9,8 @@ INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Using filters file {workdir/}filtersfile.flt
|
INFO : Using filters file {workdir/}filtersfile.flt
|
||||||
INFO : Storing filters file hash to {workdir/}filtersfile.flt.md5
|
INFO : Storing filters file hash to {workdir/}filtersfile.flt.md5
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
||||||
|
|
|
@ -1,5 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -33,7 +34,8 @@ INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Using filters file {workdir/}filtersfile.txt
|
INFO : Using filters file {workdir/}filtersfile.txt
|
||||||
INFO : Storing filters file hash to {workdir/}filtersfile.txt.md5
|
INFO : Storing filters file hash to {workdir/}filtersfile.txt.md5
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -66,7 +68,8 @@ INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Using filters file {workdir/}filtersfile.txt
|
INFO : Using filters file {workdir/}filtersfile.txt
|
||||||
INFO : Skipped storing filters file hash to {workdir/}filtersfile.txt.md5 as --dry-run is set
|
INFO : Skipped storing filters file hash to {workdir/}filtersfile.txt.md5 as --dry-run is set
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -5,13 +5,15 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
[36m(04) :[0m [34mbisync resync ignore-listing-checksum[0m
|
[36m(04) :[0m [34mbisync resync ignore-listing-checksum[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "file1.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-05T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/HeLlO,wOrLd!.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-05T00:00:00.000000000+0000 "folder/HeLlO,wOrLd!.txt"
|
||||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/éééö.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-05T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö/測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-05T00:00:00.000000000+0000 "測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö/測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö.txt"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "file1.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-03T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/HeLlO,wOrLd!.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-03T00:00:00.000000000+0000 "folder/HeLlO,wOrLd!.txt"
|
||||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/éééö.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-03T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö/測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö/測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö.txt"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "file1.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-05T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/hello,WORLD!.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-05T00:00:00.000000000+0000 "folder/hello,WORLD!.txt"
|
||||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/éééö.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-05T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö/測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-05T00:00:00.000000000+0000 "測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö/測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö.txt"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "file1.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-03T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/hello,WORLD!.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-03T00:00:00.000000000+0000 "folder/hello,WORLD!.txt"
|
||||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/éééö.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-03T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö/測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö.txt"
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö/測試_Русский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éééö.txt"
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
"folder/hello,WORLD!.txt"
|
|
||||||
"folder/éééö.txt"
|
|
|
@ -6,7 +6,8 @@
|
||||||
[36m(04) :[0m [34mbisync resync[0m
|
[36m(04) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -56,9 +57,8 @@ INFO : [32mBisync successful[0m
|
||||||
[36m(16) :[0m [34mbisync resync[0m
|
[36m(16) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile1.txt[0m
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
INFO : - [34mPath2[0m [35mResync is doing queued copies to[0m - [36mPath1[0m
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resynching Path1 to Path2
|
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
@ -103,10 +103,8 @@ INFO : [32mBisync successful[0m
|
||||||
[36m(26) :[0m [34mbisync resync norm[0m
|
[36m(26) :[0m [34mbisync resync norm[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfolder/éééö.txt[0m
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfolder/hello,WORLD!.txt[0m
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : - [34mPath2[0m [35mResync is doing queued copies to[0m - [36mPath1[0m
|
|
||||||
INFO : Resynching Path1 to Path2
|
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
"file2.txt"
|
|
||||||
"file4.txt"
|
|
|
@ -1,9 +1,9 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 - - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
||||||
|
|
|
@ -1,9 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
"RCLONE_TEST"
|
|
||||||
"file1.txt"
|
|
||||||
"file2.txt"
|
|
||||||
"file3.txt"
|
|
||||||
"file4.txt"
|
|
||||||
"file5.txt"
|
|
||||||
"file6.txt"
|
|
||||||
"file7.txt"
|
|
|
@ -1,9 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 - - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file6.txt"
|
||||||
- 0 - - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
||||||
|
|
|
@ -1,7 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 1999-09-09T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
|
|
|
@ -1,8 +1 @@
|
||||||
# bisync listing v1 from test
|
# bisync listing v1 from test
|
||||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2002-02-02T00:00:00.000000000+0000 "file3.txt"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2002-02-02T00:00:00.000000000+0000 "file4.txt"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 1999-09-09T00:00:00.000000000+0000 "file5.txt"
|
|
||||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2002-02-02T00:00:00.000000000+0000 "file6.txt"
|
|
||||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file7.txt"
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
"file2.txt"
|
|
||||||
"file4.txt"
|
|
21
cmd/bisync/testdata/test_resync/golden/test.log
vendored
21
cmd/bisync/testdata/test_resync/golden/test.log
vendored
|
@ -6,16 +6,8 @@
|
||||||
[36m(04) :[0m [34mbisync resync[0m
|
[36m(04) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mRCLONE_TEST[0m
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile1.txt[0m
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile2.txt[0m
|
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile3.txt[0m
|
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile4.txt[0m
|
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile5.txt[0m
|
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile6.txt[0m
|
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile7.txt[0m
|
|
||||||
INFO : - [34mPath2[0m [35mResync is doing queued copies to[0m - [36mPath1[0m
|
|
||||||
INFO : Resynching Path1 to Path2
|
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
[36m(05) :[0m [34mmove-listings empty-path1[0m
|
[36m(05) :[0m [34mmove-listings empty-path1[0m
|
||||||
|
@ -25,7 +17,8 @@ INFO : [32mBisync successful[0m
|
||||||
[36m(08) :[0m [34mbisync resync[0m
|
[36m(08) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
[36m(09) :[0m [34mmove-listings empty-path2[0m
|
[36m(09) :[0m [34mmove-listings empty-path2[0m
|
||||||
|
@ -61,10 +54,8 @@ INFO : [32mBisync successful[0m
|
||||||
[36m(30) :[0m [34mbisync resync[0m
|
[36m(30) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile2.txt[0m
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
INFO : - [34mPath2[0m [35mResync will copy to Path1[0m - [36mfile4.txt[0m
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : - [34mPath2[0m [35mResync is doing queued copies to[0m - [36mPath1[0m
|
|
||||||
INFO : Resynching Path1 to Path2
|
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
[36m(31) :[0m [34mcopy-listings mixed-diffs[0m
|
[36m(31) :[0m [34mcopy-listings mixed-diffs[0m
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
[36m(03) :[0m [34mbisync resync[0m
|
[36m(03) :[0m [34mbisync resync[0m
|
||||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
INFO : Copying unique Path2 files to Path1
|
INFO : Copying unique Path2 files to Path1
|
||||||
INFO : Resynching Path1 to Path2
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
||||||
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
||||||
INFO : Resync updating listings
|
INFO : Resync updating listings
|
||||||
INFO : [32mBisync successful[0m
|
INFO : [32mBisync successful[0m
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ versionIntroduced: "v1.58"
|
||||||
Make sure that this location is writable.
|
Make sure that this location is writable.
|
||||||
- Run bisync with the `--resync` flag, specifying the paths
|
- Run bisync with the `--resync` flag, specifying the paths
|
||||||
to the local and remote sync directory roots.
|
to the local and remote sync directory roots.
|
||||||
- For successive sync runs, leave off the `--resync` flag.
|
- For successive sync runs, leave off the `--resync` flag. (**Important!**)
|
||||||
- Consider using a [filters file](#filtering) for excluding
|
- Consider using a [filters file](#filtering) for excluding
|
||||||
unnecessary files and directories from the sync.
|
unnecessary files and directories from the sync.
|
||||||
- Consider setting up the [--check-access](#check-access) feature
|
- Consider setting up the [--check-access](#check-access) feature
|
||||||
|
@ -150,14 +150,8 @@ be copied to Path1, and the process will then copy the Path1 tree to Path2.
|
||||||
|
|
||||||
The `--resync` sequence is roughly equivalent to:
|
The `--resync` sequence is roughly equivalent to:
|
||||||
```
|
```
|
||||||
rclone copy Path2 Path1 --ignore-existing
|
rclone copy Path2 Path1 --ignore-existing [--create-empty-src-dirs]
|
||||||
rclone copy Path1 Path2
|
rclone copy Path1 Path2 [--create-empty-src-dirs]
|
||||||
```
|
|
||||||
Or, if using `--create-empty-src-dirs`:
|
|
||||||
```
|
|
||||||
rclone copy Path2 Path1 --ignore-existing
|
|
||||||
rclone copy Path1 Path2 --create-empty-src-dirs
|
|
||||||
rclone copy Path2 Path1 --create-empty-src-dirs
|
|
||||||
```
|
```
|
||||||
|
|
||||||
The base directories on both Path1 and Path2 filesystems must exist
|
The base directories on both Path1 and Path2 filesystems must exist
|
||||||
|
@ -169,9 +163,6 @@ will be overwritten by the Path1 filesystem version.
|
||||||
(Note that this is [NOT entirely symmetrical](https://github.com/rclone/rclone/issues/5681#issuecomment-938761815).)
|
(Note that this is [NOT entirely symmetrical](https://github.com/rclone/rclone/issues/5681#issuecomment-938761815).)
|
||||||
Carefully evaluate deltas using [--dry-run](/flags/#non-backend-flags).
|
Carefully evaluate deltas using [--dry-run](/flags/#non-backend-flags).
|
||||||
|
|
||||||
[//]: # (I reverted a recent change in the above paragraph, as it was incorrect.
|
|
||||||
https://github.com/rclone/rclone/commit/dd72aff98a46c6e20848ac7ae5f7b19d45802493 )
|
|
||||||
|
|
||||||
For a resync run, one of the paths may be empty (no files in the path tree).
|
For a resync run, one of the paths may be empty (no files in the path tree).
|
||||||
The resync run should result in files on both paths, else a normal non-resync
|
The resync run should result in files on both paths, else a normal non-resync
|
||||||
run will fail.
|
run will fail.
|
||||||
|
@ -181,6 +172,16 @@ For a non-resync run, either path being empty (no files in the tree) fails with
|
||||||
This is a safety check that an unexpected empty path does not result in
|
This is a safety check that an unexpected empty path does not result in
|
||||||
deleting **everything** in the other path.
|
deleting **everything** in the other path.
|
||||||
|
|
||||||
|
**Note:** `--resync` should only be used under three specific (rare) circumstances:
|
||||||
|
1. It is your _first_ bisync run (between these two paths)
|
||||||
|
2. You've just made changes to your bisync settings (such as editing the contents of your `--filters-file`)
|
||||||
|
3. There was an error on the prior run, and as a result, bisync now requires `--resync` to recover
|
||||||
|
|
||||||
|
The rest of the time, you should _omit_ `--resync`. The reason is because `--resync` will only _copy_ (not _sync_) each side to the other.
|
||||||
|
Therefore, if you included `--resync` for every bisync run, it would never be possible to delete a file --
|
||||||
|
the deleted file would always keep reappearing at the end of every run (because it's being copied from the other side where it still exists).
|
||||||
|
Similarly, renaming a file would always result in a duplicate copy (both old and new name) on both sides.
|
||||||
|
|
||||||
#### --check-access
|
#### --check-access
|
||||||
|
|
||||||
Access check files are an additional safety measure against data loss.
|
Access check files are an additional safety measure against data loss.
|
||||||
|
@ -1292,6 +1293,7 @@ about _Unison_ and synchronization in general.
|
||||||
* Initial listing snapshots of Path1 and Path2 are now generated concurrently, using the same "march" infrastructure as `check` and `sync`,
|
* Initial listing snapshots of Path1 and Path2 are now generated concurrently, using the same "march" infrastructure as `check` and `sync`,
|
||||||
for performance improvements and less [risk of error](https://forum.rclone.org/t/bisync-bugs-and-feature-requests/37636#:~:text=4.%20Listings%20should%20alternate%20between%20paths%20to%20minimize%20errors).
|
for performance improvements and less [risk of error](https://forum.rclone.org/t/bisync-bugs-and-feature-requests/37636#:~:text=4.%20Listings%20should%20alternate%20between%20paths%20to%20minimize%20errors).
|
||||||
* Better handling of unicode normalization and case insensitivity, support for [`--fix-case`](/docs/#fix-case), [`--ignore-case-sync`](/docs/#ignore-case-sync), [`--no-unicode-normalization`](/docs/#no-unicode-normalization)
|
* Better handling of unicode normalization and case insensitivity, support for [`--fix-case`](/docs/#fix-case), [`--ignore-case-sync`](/docs/#ignore-case-sync), [`--no-unicode-normalization`](/docs/#no-unicode-normalization)
|
||||||
|
* `--resync` is now much more efficient (especially for users of `--create-empty-src-dirs`)
|
||||||
|
|
||||||
### `v1.64`
|
### `v1.64`
|
||||||
* Fixed an [issue](https://forum.rclone.org/t/bisync-bugs-and-feature-requests/37636#:~:text=1.%20Dry%20runs%20are%20not%20completely%20dry)
|
* Fixed an [issue](https://forum.rclone.org/t/bisync-bugs-and-feature-requests/37636#:~:text=1.%20Dry%20runs%20are%20not%20completely%20dry)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user