path: root/bin/bbackupquery/documentation.txt
diff options
authorChris Wilson <>2014-08-15 22:48:16 +0000
committerChris Wilson <>2014-08-15 22:48:16 +0000
commit883f65709e74967de4e8f23b841cf8bda150c379 (patch)
treeb54d48770744fe2f09206b3cca8a32c34983be26 /bin/bbackupquery/documentation.txt
parentbaee6bc0d829c306746240f4cbc87852f44ef254 (diff)
Add option to sort results of bbackupquery ls command.
The new default is to sort by name, with directories first. Put the documentation on the "ls" command, instead of the "list" command, since that's annoyed me too many times. The recursive list option is changed from "-r" to "-R", to match the shell ls command.
Diffstat (limited to 'bin/bbackupquery/documentation.txt')
1 files changed, 9 insertions, 5 deletions
diff --git a/bin/bbackupquery/documentation.txt b/bin/bbackupquery/documentation.txt
index 214fe218..b16a6f7c 100644
--- a/bin/bbackupquery/documentation.txt
+++ b/bin/bbackupquery/documentation.txt
@@ -29,11 +29,11 @@ All directory names relative to a "current" directory, or from root if they
start with '/'. The initial directory is always the root directory.
-> list [options] [directory-name]
+> ls [options] [directory-name]
List contents of current directory, or specified directory.
- -r -- recursively list all files
+ -R -- recursively list all files
-d -- list deleted files/directories
-o -- list old versions of files/directories
-I -- don't display object ID
@@ -45,13 +45,17 @@ start with '/'. The initial directory is always the root directory.
-s -- show file size in blocks used on server
(only very approximate indication of size locally)
-h -- show file attributes hash
+ -D -- sort directories together with files (not dirs first)
+ -i -- sort by object ID (the old default)
+ -S -- sort by object size in blocks
+ -U -- don't sort the results (new default is to sort by name)
-ls can be used as an alias.
+list can be used as an alias.
-> ls
+> list
- Alias for 'list'. Type 'help list' for options.
+ Alias for 'ls'. Type 'help ls' for options.
> cd [options] <directory-name>