RC ServerModTime

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

using rcd: operations/list on an s3 remote, using _config='{"UseServerModTime":true}' as no effect. I can only make it work if I first do call to: options/set '{"main":{"UseServerModTime":true}}'. Is there a way to set this on a per call basis? In the log below, the 1st file (blue.png) intentionally has a different s3 modtime, but the command is still showing the local modtime (using an extra api call)

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

rclone v1.69.3

  • os/version: Microsoft Windows 11 Pro 24H2 24H2 (64 bit)
  • os/kernel: 10.0.26100.4351 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.24.3
  • go/linking: static
  • go/tags: cmount

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

Wasabi

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

rclone rc operations/list fs=WDP: remote=s3.dustypig.tv/user-art/profile _config='{\"UseServerModTime\":true}'

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

[WDP]
type = s3
provider = Wasabi
endpoint = s3.us-central-1.wasabisys.com
access_key_id = ####################
secret_access_key = ########################################

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

2025/06/13 15:21:27 DEBUG : rclone: Version "v1.69.3" starting with parameters ["C:\\WINDOWS\\system32\\rclone.exe" "rc" "--url" ":15572" "operations/list" "fs=WDP:" "remote=s3.dustypig.tv/user-art/profile" "_config={\"UseServerModTime\":true}" "-vv"]
{
        "list": [
                {
                        "IsDir": false,
                        "MimeType": "image/png",
                        "ModTime": "2025-06-05T21:33:33.541371200-06:00",
                        "Name": "blue.png",
                        "Path": "s3.dustypig.tv/user-art/profile/blue.png",
                        "Size": 10815,
                        "Tier": "STANDARD"
                },
                {
                        "IsDir": false,
                        "MimeType": "image/png",
                        "ModTime": "2023-10-12T18:22:14.000000000Z",
                        "Name": "gold.png",
                        "Path": "s3.dustypig.tv/user-art/profile/gold.png",
                        "Size": 10993,
                        "Tier": "STANDARD"
                },
                {
                        "IsDir": false,
                        "MimeType": "image/png",
                        "ModTime": "2023-10-12T18:22:14.000000000Z",
                        "Name": "green.png",
                        "Path": "s3.dustypig.tv/user-art/profile/green.png",
                        "Size": 11443,
                        "Tier": "STANDARD"
                },
                {
                        "IsDir": false,
                        "MimeType": "image/png",
                        "ModTime": "2023-10-12T18:22:14.000000000Z",
                        "Name": "grey.png",
                        "Path": "s3.dustypig.tv/user-art/profile/grey.png",
                        "Size": 8776,
                        "Tier": "STANDARD"
                },
                {
                        "IsDir": false,
                        "MimeType": "image/jpeg",
                        "ModTime": "2024-11-16T23:51:29.000000000Z",
                        "Name": "jason.jpg",
                        "Path": "s3.dustypig.tv/user-art/profile/jason.jpg",
                        "Size": 1638,
                        "Tier": "STANDARD"
                },
                {
                        "IsDir": false,
                        "MimeType": "image/png",
                        "ModTime": "2023-10-12T18:22:14.000000000Z",
                        "Name": "red.png",
                        "Path": "s3.dustypig.tv/user-art/profile/red.png",
                        "Size": 10916,
                        "Tier": "STANDARD"
                }
        ]
}
2025/06/13 15:21:28 DEBUG : 4 go routines active

welcome to the forum,

the command works fine on linux, so i think the issue is with escaping text, common issue on windows.

a workaround would be to add flag --use-server-modtime

Looking at the source is uses the UseServerModtime from the context which should be passed down using _config

Check you got the syntax right with
options/local - rclone just ignores incorrect sets which is unhelpful when debugging