Open jean-christophe-manciot opened 7 years ago
Hello @jean-christophe-manciot, --depth
is meant to traverse the contents of the subject item or display it if isn't a folder, when you do list because list inherently just uses the folder to get to its children. For stat, a folder's information is displayed because stat first details the subject item first
and then tries to traverse to the children.
Would you mind telling me what output were you expecting for drive list --depth 0 folder
?
The title is incomplete; I meant ""drive list -long -depth 0 $folder" does not return anything". That means I was expecting the same infos as with a file: type, id, date & time. This is used in scripts where we don't know in advance the type of object we're dealing with.
It works fine with a file, but not with a folder:
No such issue with
drive stat