Tree module box.com folder_id option

#1

Would it be possible to add an option which will add folder ID to the results in the tree module?
As far as I know, I can get ID only in lsjson command, but I can’t isolate directories only.

thanks,
Damian

#2

You can use the rclone lsf command to list IDs also something like this

rclone lsf --csv --format pi --dirs-only remote:path
#3

Thank you !!!
This is exactly what I need.

1 Like
#4

lsjson is designed more for script input whereas lsf is more human readable.

I should probably add the --dirs-only flags to lsjson too…

#5

I’m parsing output in my python script, so adding --dirs-only to the lsjson, in any future release, would be even greater.

Thanks !!

#6

Fancy making a new issue on github about that?

You could even help implement it?

#7

I have created new feature request issue regarding that.
I will do all my best to help implementing.

1 Like