Is there any way to have "ls" not recurse to all my files?

As must be very current, I have too any files to display them all at once in any sort of practical fashion in the terminal.

Yet, rclone ls recurs through all of my files and folders, making the command essentially useless (unless I save it to a text file, or use it in a folder without children files).

Is it supposed to behave that way? Is there a way to make it behave like rsync lsd and Bash ls and not recur?

Thanks.

2 Likes

Yes. Though if I was doing it again Iā€™d make the default different!

Use --max-depth 1 to stop it recursing.

1 Like