"Last Modified"

remote = google drive
Do you know of any flags I can add to copy a file server side that also changes Last Modified? The name of the previous user is also being copied over which is what I do not want.

I can manually rename every file to do this but its counter-intuitive. Maybe a flag --last-modified-enabled? Maybe a workaround already exists that I'm not aware of. Hope someone could help me.

You can run rclone touch on the file to update the modification time.

https://rclone.org/commands/rclone_touch/

1 Like

Interesting but do you know how to use it in conjunction with rclone copy?

Or is there anything else.

e.g. rclone copy folder1: folder2: --drive-server-side-across-configs=true --touch

Seems counter-intuitive to rclone touch after rclone copy, especially for numerous copies.