How to print file name and save in a text file

using this command we can get the file list of the folder
"rclone lsd name:folder"

is there anyway we can save the name in a text file and save it?

rclone lsd name:folder > list.txt

1 Like

If you just want the names use rclone lsf instead of rclone lsd - that is usually what you want for scripting.

1 Like

rclone lsf name:folder --dirs-only

1 Like