Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

More notes

Nick Craig-Wood81b7f41dfba5
diff --git a/notes.txt b/notes.txt
index 5c1cea768..474061330 100644
--- a/notes.txt
+++ b/notes.txt
@@ -4,27 +4,6 @@ Make Env vars compatible with st?
Get and put the metadata in the libray (x-object-meta-mtime) when getting and putting a file?
-st is setting this
-'x-object-meta-mtime'
-
- getmtime(filename)
- Return the last modification time of a file, reported by os.stat().
-
->>> f = os.path.getmtime("z")
-1347717491.343554
->>> print f
-1347717491.34
->>> str(f)
-'1347717491.34'
->>> "%d" % f
-'1347717491'
->>>
-
-swift.py appears to be doing it wrong with str(float) which isn't a
-good way of stringifying floats...
-
-Make
-
This also puts meta-mtime
https://github.com/gholt/swiftly
@@ -38,3 +17,6 @@ FIXME ordering not hash order
FIXME progress meter would be nice! Do this by wrapping the Reader with a progress bar
+Do bandwidth limit by wrapping the Reader too
+
+If length is same but remote has no mtime, then could fall back to checking the checksum and if that was OK then just update the object meta time.