dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.05k stars 101 forks source link

Preserve modified times on files uploaded with put command #140

Open athena-metis opened 4 years ago

athena-metis commented 4 years ago

The put command currently sets the client settable file modified date time to be the current date and time. This changes that behaviour to maintain the modified date/time of the file being uploaded from the source file system. The use case inspiring this change is where this tool may be used to migrate content into dropbox from an existing source where not maintaining the existing modified timestamps of files would loose valuable metadata.

CLAassistant commented 2 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.