I find the rclone tree command very useful for viewing and saving the contents of a cloud storage but if I wanted to do the same with my external hard drives what would be the right command?
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.1
os/version: Microsoft Windows 10 Home 21H1 (64 bit)
os/kernel: 10.0.19043.1889 (x86_64)
os/type: windows
os/arch: amd64
go/version: go1.18.5
go/linking: static
go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
1Fichier, Google Drive, local
The command you were trying to run (eg rclone copy /tmp remote:tmp)
rclone tree local:O:\AUDIO -o orico.txt
The rclone config contents with secrets removed.
Name Type
==== ====
1Fichier fichier
gdrive drive
orico local
A log from the command with the -vv flag
2022/08/12 19:25:17 DEBUG : rclone: Version "v1.59.1" starting with parameters ["rclone" "tree" "local:O:\\AUDIO" "-o" "orico.txt" "-vv"]
2022/08/12 19:25:17 DEBUG : Creating backend with remote "local:O:\\AUDIO"
2022/08/12 19:25:17 DEBUG : Using config file from "C:\\Users\\xxxx\\.config\\rclone\\rclone.conf"
2022/08/12 19:25:17 Failed to create file system for "local:O:\\AUDIO": didn't find section in config file
2022/08/12 20:56:04 ERROR : FOLDER1/FILE Part 2 : error listing: directory not found
2022/08/12 20:56:04 ERROR : FOLDER1/FILE Part 1 : error listing: directory not found
2022/08/12 20:56:04 Failed to tree with 2 errors: last error was: directory not found
2022/08/12 20:57:46 DEBUG : rclone: Version "v1.59.1" starting with parameters ["rclone" "tree" "O:\\AUDIO" "-vv"]
2022/08/12 20:57:46 DEBUG : Creating backend with remote "O:\\AUDIO"
2022/08/12 20:57:46 DEBUG : Using config file from "C:\\Users\\xxxx\\.config\\rclone\\rclone.conf"
2022/08/12 20:57:46 DEBUG : fs cache: renaming cache item "O:\\AUDIO" to be canonical "//?/O:/AUDIO"
2022/08/12 20:57:47 ERROR : FOLDER1/FILE Part 2 : error listing: directory not found
2022/08/12 20:57:47 DEBUG : 3 go routines active
2022/08/12 20:57:47 Failed to tree: directory not found
C:\Users\xxxx\Desktop\rclone-v1.59.0-windows-amd64>rclone tree o:\audio -vv
2022/08/12 21:25:39 DEBUG : rclone: Version "v1.59.1" starting with parameters ["rclone" "tree" "o:\\audio" "-vv"]
2022/08/12 21:25:39 DEBUG : Creating backend with remote "o:\\audio"
2022/08/12 21:25:39 DEBUG : Using config file from "C:\\Users\\xxxx\\.config\\rclone\\rclone.conf"
2022/08/12 21:25:39 DEBUG : fs cache: renaming cache item "o:\\audio" to be canonical "//?/o:/audio"
2022/08/12 21:25:39 ERROR : FOLDER1/FILE Part 2 : error listing: directory not found
2022/08/12 21:25:39 DEBUG : 3 go routines active
2022/08/12 21:25:39 Failed to tree: directory not found
Nope same issue. It seems that the error is caused by this path FOLDER1/FILE Part 2 : error listing: directory not found