mirror of
https://github.com/rclone/rclone.git
synced 2024-11-21 16:03:29 +01:00
More notes
This commit is contained in:
parent
27ed023c30
commit
81b7f41dfb
24
notes.txt
24
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.
|
||||
|
Loading…
Reference in New Issue
Block a user