lsd: Add -R flag and fix and update docs for all ls commands

This commit is contained in:
Nick Craig-Wood 2018-04-25 21:06:42 +01:00
parent d0f32b62fd
commit 96a62d55a2
5 changed files with 87 additions and 4 deletions

View file

@ -16,9 +16,9 @@ There are several related list commands
` + "`lsf`" + ` is designed to be human and machine readable.
` + "`lsjson`" + ` is designed to be machine readable.
Note that ` + "`ls`,`lsl`,`lsd`" + ` all recurse by default - use "--max-depth 1" to stop the recursion.
Note that ` + "`ls` and `lsl`" + ` recurse by default - use "--max-depth 1" to stop the recursion.
The other list commands ` + "`lsf`,`lsjson`" + ` do not recurse by default - use "-R" to make them recurse.
The other list commands ` + "`lsd`,`lsf`,`lsjson`" + ` do not recurse by default - use "-R" to make them recurse.
Listing a non existent directory will produce an error except for
remotes which can't have empty directories (eg s3, swift, gcs, etc -