Rclone rc vfs/stats - show file path

I am enjoying the use of vfs/stat in 1.58 and the metadata around what transfers it has. I was curious if there was an ability to drill even further and query what the filepaths are to the files it has in queue and is currently uploading?

For instance, something like:

rclone rc vfs/stats showPath=true                                                                                                       
        "diskCache": {                                                                                                                                                   
                "bytesUsed": 535160384499,                                                                                                                               
                "erroredFiles": 0,                                                                                                                                       
                "files": 697,                                                                                                                                            
                "hashType": 0,                                                                                                                                           
                "outOfSpace": false,                                                                                                                                     
                "path": "/home/cache/rclone/vfs/drive/path",
                "pathMeta": "/home/cache/rclone/vfsMeta/drive/path",
                "uploadsInProgress": 2,
                "uploadsQueued": 1,
                "filesInProgress": {

I took a peak in the documentation and didn't see the ability. Happy to open a feature request if this is not something that is currently available.

Thanks :smiley:,


That probably wouldn't be too hard to add...

The paths would be relative to the root of the VFS most likely, so you'd get "to/file1" and "to/file2" in your example. This could have more info about the files also, so size/modtime etc which might be interesting.

Might you be interested in implementing this?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.