I have a issue with rclone + dropbox. Every time i restart the mount i get todays date on the folders. So all sorting etc is impossible. As long as its up the dates are there when i create a new folder. But gone after restart. Files in the folders are fine.
Worked fine with gdrive.
rclone v1.62.2
os/version: ubuntu 22.04 (64 bit)
os/kernel: 5.15.0-73-generic (x86_64)
rclone does not support modtime for folders AFAIK
There is plenty of open github issues related to this, e.g.:
opened 03:11AM - 11 Jan 23 UTC
enhancement
<!--
We understand you are having a problem with rclone; we want to help you … with that!
**STOP and READ**
**YOUR POST WILL BE REMOVED IF IT IS LOW QUALITY**:
Please show the effort you've put into solving the problem and please be specific.
People are volunteering their time to help! Low effort posts are not likely to get good answers!
If you think you might have found a bug, try to replicate it with the latest beta (or stable).
The update instructions are available at https://rclone.org/commands/rclone_selfupdate/
If you can still replicate it or just got a question then please use the rclone forum:
https://forum.rclone.org/
for a quick response instead of filing an issue on this repo.
If nothing else helps, then please fill in the info below which helps us help you.
**DO NOT REDACT** any information except passwords/keys/personal info.
You should use 3 backticks to begin and end your paste to make it readable.
Make sure to include a log obtained with '-vv'.
You can also use '-vv --log-file bug.log' and a service such as https://pastebin.com or https://gist.github.com/
Thank you
The Rclone Developers
-->
#### The associated forum post URL from `https://forum.rclone.org`
#### What is the problem you are having with rclone?
I did `sudo rclone copy --metadata <src> <dest>` as root user
To validate the dest content, I did the restore using same rclone cmdline interchanging src and dest as root user.
While the files get the right attributes (permission level, owner, group), the folder has got root:root and restore date.
#### What is your rclone version (output from `rclone version`)
rclone v1.61.1
- os/version: oracle 7.9 (64 bit)
- os/kernel: 5.4.17-2136.314.6.2.el7uek.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.4
- go/linking: static
- go/tags: none
#### Which OS you are using and how many bits (e.g. Windows 7, 64 bit)
Oracle Linux Server release 7.9
#### Which cloud storage system are you using? (e.g. Google Drive)
Oracle Cloud Infrastructure
#### The command you were trying to run (e.g. `rclone copy /tmp remote:tmp`)
sudo rclone copy --metadata <src> <dest>
#### A log from the command with the `-vv` flag (e.g. output from `rclone -vv copy /tmp remote:tmp`)
#### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
Oh. Worked fine with gdrive. But thats not because of rclone i guess.
Dropbox doesn't have it available in the API I believe or did not when it was first implemented possibly as well.
I use the beta for now and use:
--default-time 2023-01-01
So any 'old' folders always get that time instead of the mount time. Any 'new' folders would have a current timestamp on creation.
What is interesting is that when I login to dropbox web interface I can see folders mod times
so yes there might be that rclone is not perfect here. By legacy implementation of Dropbox API or by design I am not sure
I haven't rechecked as it is present in the data, just not sure if the API supports it now or not.
Hi, that "--default-time 2023-01-012 is available in mount command too?
system
(system)
Closed
August 4, 2023, 5:50pm
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.