I don't have a problem just an usage question about 'rclone rc operations/list'. According to the documentation its required parameters are:
fs - a remote name string e.g. "drive:" (or a path if its a local directory, which is not mentioned on the documentation, also while testing I noticed remote directories include links in the list, local directories do not)
remote - a path within that remote e.g. "dir"
So I have a smb config called SOURCE, so this works:
Due to the way rclone works, whenever you use a different fs it instantiates a new backend for it. These are cached by the rc.
So for max efficiency use a fixed fs=SOURCE: and vary the remote=
In general rclone doesn't need the slashes, so just leave them out. So this
rclone rc operations/list fs=SOURCE: remote=
Should work fine.
What is happening is that rclone rc operations/list fs=SOURCE:/ remote= is being simplified to rclone rc operations/list fs=SOURCE: remote= but rclone rc operations/list fs=SOURCE: remote=/ is trying to list a directory called / which doesn't exist. That is my guess anyway!
What is happening is that rclone rc operations/list fs=SOURCE:/ remote= is being simplified to rclone rc operations/list fs=SOURCE: remote= but rclone rc operations/list fs=SOURCE: remote=/ is trying to list a directory called / which doesn't exist. That is my guess anyway!
The weird thing is that it is actually working, is just ignoring the files for some reason. This is the output if the command:
Some remotes (eg dropbox and sftp) are sensitive to a leading /. For example sftp:dir finds dir in your home directory whereas sftp:/dir finds it at the root.