Skip to content

Sync directory modification time and metadata on the root of the sync #7652

Description

@ncw

Currently rclone does not sync directory modification time and metadata on the root of the sync.

The syncing was implemented in #6685 and there @nielash noted that the root modification times and metadata weren't being synced.

This is quite hard to fix as there is no way of getting an fs.Directory object for the root from the backend at the moment.

This probably needs a NewEntry method to replace or extend NewObject, or it needs NewFs to return the root directory entry.

This is the same problem that rclone lsjson --stat remote: has - this has no information on the root directory.

PS When this is fixed, take out the notes in cmd/{sync,copy,move} pointing to this issue

How to use GitHub

  • Please use the 👍 reaction 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions