Order-by not work locally

What is the problem you are having with rclone?

--order-by Not work

What is your rclone version (output from rclone version)

rclone v1.56.2

  • os/version: Microsoft Windows Server 2016 Datacenter 1607 (64 bit)
  • os/kernel: 10.0.14393.4704 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.16.8
  • go/linking: dynamic
  • go/tags: cmount

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

WebDev

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

rclone ls ./ --order-by modtime,asc
2021/11/20 20:58:11 DEBUG : rclone: Version "v1.56.2" starting with parameters ["C:\\ProgramData\\chocolatey\\lib\\rclone.portable\\tools\\rclone-v1.56.2-windows-amd64\\rclone.exe" "ls" "./" "--order-by" "modtime,asc" "-vv"]
2021/11/20 20:58:11 DEBUG : Creating backend with remote "./"
2021/11/20 20:58:11 DEBUG : Using config file from "C:\\Users\\zone\\AppData\\Roaming\\rclone\\rclone.conf"
2021/11/20 20:58:11 DEBUG : fs cache: renaming cache item "./" to be canonical "//?/E:/Share"
  7912638 12 Laws -1.mp4
    11032 2018-12-26_20h32_04.png
 68742112 NDP471-KB4033342-x86-x64-AllOS-ENU_1.exe
    24576 Thumbs.db
     9751 arthmatics arrange programing.PNG
    37629 cpp_for_loop.jpg
    12935 examples lec2.PNG
    35093 for example.PNG
    10294 identifiers programing.PNG
     7647 logical arrange.PNG
    12307 logical programing.PNG
  7863624 paint.net.4.1.5.install.zip
    94344 photo_2018-12-25_23-44-49.jpg
   102664 prgraming if example.PNG
   209058 واجب عملي 1.docx
2021/11/20 20:58:11 DEBUG : 2 go routines active

rclone ls ./ --order-by name -vv
2021/11/20 21:01:09 DEBUG : rclone: Version "v1.56.2" starting with parameters ["C:\\ProgramData\\chocolatey\\lib\\rclone.portable\\tools\\rclone-v1.56.2-windows-amd64\\rclone.exe" "ls" "./" "--order-by" "name" "-vv"]
2021/11/20 21:01:09 DEBUG : Creating backend with remote "./"
2021/11/20 21:01:09 DEBUG : Using config file from "C:\\Users\\zone\\AppData\\Roaming\\rclone\\rclone.conf"
2021/11/20 21:01:09 DEBUG : fs cache: renaming cache item "./" to be canonical "//?/E:/Share"
  7912638 12 Laws -1.mp4
    11032 2018-12-26_20h32_04.png
 68742112 NDP471-KB4033342-x86-x64-AllOS-ENU_1.exe
    24576 Thumbs.db
     9751 arthmatics arrange programing.PNG
    37629 cpp_for_loop.jpg
    12935 examples lec2.PNG
    35093 for example.PNG
    10294 identifiers programing.PNG
     7647 logical arrange.PNG
    12307 logical programing.PNG
  7863624 paint.net.4.1.5.install.zip
    94344 photo_2018-12-25_23-44-49.jpg
   102664 prgraming if example.PNG
   209058 واجب عملي 1.docx
2021/11/20 21:01:09 DEBUG : 2 go routines active
rclone ls ./ --order-by size -vv
2021/11/20 21:01:57 DEBUG : rclone: Version "v1.56.2" starting with parameters ["C:\\ProgramData\\chocolatey\\lib\\rclone.portable\\tools\\rclone-v1.56.2-windows-amd64\\rclone.exe" "ls" "./" "--order-by" "size" "-vv"]
2021/11/20 21:01:57 DEBUG : Creating backend with remote "./"
2021/11/20 21:01:57 DEBUG : Using config file from "C:\\Users\\zone\\AppData\\Roaming\\rclone\\rclone.conf"
2021/11/20 21:01:57 DEBUG : fs cache: renaming cache item "./" to be canonical "//?/E:/Share"
  7912638 12 Laws -1.mp4
    11032 2018-12-26_20h32_04.png
 68742112 NDP471-KB4033342-x86-x64-AllOS-ENU_1.exe
    24576 Thumbs.db
     9751 arthmatics arrange programing.PNG
    37629 cpp_for_loop.jpg
    12935 examples lec2.PNG
    35093 for example.PNG
    10294 identifiers programing.PNG
     7647 logical arrange.PNG
    12307 logical programing.PNG
  7863624 paint.net.4.1.5.install.zip
    94344 photo_2018-12-25_23-44-49.jpg
   102664 prgraming if example.PNG
   209058 واجب عملي 1.docx
2021/11/20 21:01:57 DEBUG : 2 go routines active

the info

The rclone config contents with secrets removed.

[dds]
type = webdav
url = https://cloud.disroot.org/remote.php/dav/files/zone
vendor = nextcloud
user = zone
pass = M2ll7RBRyzCy7E_LgDqaaEwXGLwPrbOUD7xaPyQ...

It's not for ls as documented:

https://rclone.org/docs/#order-by-string

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