rclone icon indicating copy to clipboard operation
rclone copied to clipboard

Write list of transferred and unchanged files for `rclone copy`

Open marvin-roesch opened this issue 4 months ago • 0 comments

This is a follow-up to #7282 for also implementing the logger flags available for rclone sync (e.g. --differ, --missing-on-dst etc.) for the rclone copy command. I'm also interested in submitting a PR for this myself.

What is your current rclone version (output from rclone version)?

1.68.0

What problem are you are trying to solve?

When only copying and not fully syncing files, i.e. not deleting anything at the destination, getting a nicely structured list of all the files that were transferred and why they were transferred would be useful for housekeeping purposes and for keeping track of how an operation changed the destination.

How do you think rclone should be changed to solve that?

The following flags to the rclone copy command with the same behavior as for rclone sync should be introduced:

  • --combined
  • --differ
  • --match
  • --missing-on-dst

--missing-on-src and --dest-after can also be supported, but their behavior when combined with --no-traverse should be documented and a warning logged if both a logging flag and --no-traverse is specified.

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.

marvin-roesch avatar Oct 04 '24 06:10 marvin-roesch