--max-age refers to waht date?

What is the problem you are having with rclone?

I'm trying to figure out whether the flag
--max-age refers to modification date or creation date?
For example: I have a file that was created in 2010 and I uploaded it yesterday to the remote, will a setting of --max-age 1w apply to the file?
I want even if the file was created in 2010 but I uploaded it yesterday it will still be included in --max-age 1w.
I could not find information for this in the documentation
Especially if I use the -M flag

Run the command 'rclone version' and share the full output of the command.

rclone v1.68.1
- os/version: Microsoft Windows 11 Pro 23H2 (64 bit)
- os/kernel: 10.0.22631.4602 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.23.1
- go/linking: static
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy DriveA:/data DriveB:/data --drive-stop-on-upload-limit --server-side-across-configs -P -M --ignore-existing --ignore-checksum --drive-keep-revision-forever -vvv --max-age 1w

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[DriveA]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =


[DriveB]
type = drive
client_id = XXX
client_secret = XXX
scope = drive
token = XXX
team_drive =

A log from the command that you were trying to run with the -vv flag

...

that is correct

rclone will use the modtime of the file.


maybe you can explain what you are trying to accomplish?

Thank you for the answer!

I want to copy an entire remote from one to the other
But because there are more than 3 million files, it takes almost 48 hours to finish the whole process (even when using --fast-list), so I want to be sure that even files that I continue to upload on the old remote will be transferred even if they were created on an old date But were upload last week

Can you tell me whether the answer will be the same if I use the -M flag?