From 96afa8bd2ba44d6669949db5fce4fee5f826b753 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 28 Feb 2014 19:02:23 +0100 Subject: command: add command "listfiles" Lists files and directories. Supports storage plugins. --- src/command/AllCommands.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/command/AllCommands.cxx') diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx index 488c27daa..ab4de823b 100644 --- a/src/command/AllCommands.cxx +++ b/src/command/AllCommands.cxx @@ -107,6 +107,9 @@ static const struct command commands[] = { { "list", PERMISSION_READ, 1, -1, handle_list }, { "listall", PERMISSION_READ, 0, 1, handle_listall }, { "listallinfo", PERMISSION_READ, 0, 1, handle_listallinfo }, +#endif + { "listfiles", PERMISSION_READ, 0, 1, handle_listfiles }, +#ifdef ENABLE_DATABASE { "listmounts", PERMISSION_READ, 0, 0, handle_listmounts }, #endif #ifdef ENABLE_NEIGHBOR_PLUGINS -- cgit v1.2.3