Return just folder names

Ok i am a big powershell guy and have come dependent on certain features. Returning an array of object and accessing there properties. Is this at all possible with a rclone? for example

###CODE
(Get-ChildItem “C:\Program Files”).Name
###OUTPUT
7-Zip
AMD
ATI Technologies

###CODE
(rclone lsd sftp:abc/def).name
###OUTPUT
Dir1
More_dirs
Example dir

If this is not possible a cleaner output would allow me to handle it myself without a ton of overhead.
So instead of returning
-1 2017-02-17 09:03:47 -1 Dir1
-1 2017-02-17 10:39:33 -1 Dir2

Can i get the output to be just
Dir1
Dir2

Try rclone.exe lsd remote:| % {($_ -split ' -1')[2]}

You’d have to replace -1 with 0 if it’s local thoug

Cool. Appears to work.
Thanks.
Still would be nice for a cleaner output though as an option from rclone.

I agree. I’d like to revamp ls and friends…

Fancy making an issue?

Thanks

Nick

Had something like this in mind?
https://github.com/ncw/rclone/issues/1157

Thanks for making that!